Add filesystem index to ZipOS

This change brings the /zip/... read-only filesystem into performance
parity with the native Linux filesystem which doesn't use compression
therefore, imagine how much faster this could be with bloom filtering
rather than simple binary search, and if we used zstd instead of zlib
This commit is contained in:
Justine Tunney 2023-08-18 07:04:55 -07:00
parent 7100b1cf91
commit 5b42c810a5
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
7 changed files with 93 additions and 25 deletions

View file

@ -87,6 +87,7 @@ TEST(__zipos_normpath, overflows_willNulTerminate) {
TEST(__zipos_normpath, vectors) {
static const char V[][2][128] = {
{"", ""},
{"/", ""},
{"/..", ""},
{"/../", ""},
{".", ""},