Bitmap format
The bitmap is a structure with
- length
- state
- touched
- map
- maphex
map is used internally. For saving, maphex is used, which is 2 times longer, but save for a textfile.
A bitmap for 10'000 files uses uncompressed 10'000/8*2 = 2500 bytes to save.
maphex is compressed: 8-sequences of 0 (binary 0000) are compressed to g, i, k, m. 8-sequences of f (binary 1111) are compressed to h, j, l, n
Defined in /inc/bitmap.php