Skip to content

Commit e3bd9f7

Browse files
authored
Revise feature comparison for comic formats
Updated feature comparison table to reflect random page access and per-asset integrity for CBZ and CBR formats.
1 parent 7d0b310 commit e3bd9f7

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

readme.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ NOTE: `libbbf.h` includes a `flags` field, as well as extra padding for each ass
7272

7373
| Feature | **BBF** | CBZ (Zip) | CBR (Rar) | PDF | EPUB | Folder |
7474
| :--- | :---: | :---: | :---: | :---: | :---: | :---: |
75-
| **Random Page Access** || | ||||
75+
| **Random Page Access** || [8] | [8] ||||
7676
| **Native Data Deduplication** |||| ⚠️ [1] |||
77-
| **Per-Asset Integrity (XXH3)** || | ||||
77+
| **Per-Asset Integrity (XXH3)** || ⚠️[9] | ⚠️[9] ||||
7878
| **4KB Sector Alignment** |||||||
7979
| **Native Sections/Chapters** |||||||
8080
| **Arbitrary Metadata (UTF-8)** || ⚠️ [2] |||||
@@ -90,9 +90,12 @@ NOTE: `libbbf.h` includes a `flags` field, as well as extra padding for each ass
9090
[2] - CBZ does not support metadata natively in the ZIP spec; it relies on unofficial sidecar files like <code>ComicInfo.xml</code>.<br/>
9191
[3] - While folders allow memory mapping, individual images within them are rarely sector-aligned for optimized DirectStorage throughput.<br/>
9292
[4] - ZIP/RAR require large, complex libraries (zlib/libarchive); BBF is a "Plain Old Data" (POD) format requiring only a few lines of C++ to parse.<br/>
93-
[5] - ZIP/RAR use CRC32, which is aging, collision-prone, and significantly slower to verify than XXH3 for large archival collections.<br/>
93+
[5] - ZIP/RAR use CRC32, which is aging, collision-prone, and significantly slower to verify than XXH3 for large archival collections. See [8].<br/>
9494
[6] - Because the index is at the end (Footer), web-based streaming requires a "Range Request" to the end of the file before reading pages.<br/>
9595
[7] - PDF supports "Linearization" (Fast Web View), allowing the header and first pages to be read before the rest of the file is downloaded.<br/>
96+
[8] - As Reddit properly corrected me, ZIP/RAR does have random access. <br/>
97+
[9] - While I think CRC32 is a legacy hash format, ZIP/RAR does have verification ability, though somewhat outdated. See [5].<br/>
98+
9699
</font>
97100

98101
### Graphical Comparison (BBF vs. CBZ)

0 commit comments

Comments
 (0)