Difference between revisions of "ZIM file format"

Jump to navigation Jump to search
148 bytes added ,  08:20, 17 October 2010
Line 74: Line 74:
|}
|}


As directoy entries are cached and accessed via URL this indirection from titles via URLs to directory indeces makes sure that the cache is always used.
The indirection from titles via URLs to directory entries has two reasons:
* the pointer list is only half in size as 4 bytes are enough for each entry
* accessing directory entries by title also makes use of cached directory entries which are referenced by the URL pointers, as implemented in zimlib


== Cluster pointer list (clusterPtrPos) ==
== Cluster pointer list (clusterPtrPos) ==

Navigation menu