{"id":34336,"date":"2021-12-01T16:43:56","date_gmt":"2021-12-01T21:43:56","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=34336"},"modified":"2021-12-03T16:05:10","modified_gmt":"2021-12-03T21:05:10","slug":"firefoxs-optimized-zip-format","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/12\/01\/firefoxs-optimized-zip-format\/","title":{"rendered":"Firefox&rsquo;s Optimized Zip Format"},"content":{"rendered":"<p><a href=\"https:\/\/taras.glek.net\/post\/optimized-zip-format\/\">Taras Glek<\/a>:<\/p>\n<blockquote cite=\"https:\/\/taras.glek.net\/post\/optimized-zip-format\/\">\n<p>Unfortunately reading files started from ending precludes readahead. It is also suboptimal to read files from zip in random order.<\/p>\n<p>The following creative interpretation of Zip spec results in optimized zip files[&#8230;]<\/p>\n<p>[&#8230;]<\/p>\n<p>Thus we have a sequentual-read-friendly zip file that can still be ready by zip tools that follow the spec.<\/p>\n<p>[&#8230;]<\/p>\n<p>At the time optimized jar change broke antivirus scanners, which further sped up Firefox startup :)<\/p>\n<\/blockquote>\n\n<p id=\"firefoxs-optimized-zip-format-update-2021-12-03\">Update (2021-12-03): See also: <a href=\"https:\/\/news.ycombinator.com\/item?id=29410225\">Hacker News<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Taras Glek: Unfortunately reading files started from ending precludes readahead. It is also suboptimal to read files from zip in random order. The following creative interpretation of Zip spec results in optimized zip files[&#8230;] [&#8230;] Thus we have a sequentual-read-friendly zip file that can still be ready by zip tools that follow the spec. [&#8230;] [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2021-12-01T21:44:04Z","apple_news_api_id":"33507e34-d648-42a1-ae82-34a05faff5af","apple_news_api_modified_at":"2021-12-03T21:05:13Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAAAA==","apple_news_api_share_url":"https:\/\/apple.news\/AM1B-NNZIQqGugjSgX6_1rw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[357,279,30,32,2077,138,71],"class_list":["post-34336","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-compression","tag-firefox","tag-mac","tag-macapp","tag-macos-12","tag-optimization","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=34336"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34336\/revisions"}],"predecessor-version":[{"id":34359,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/34336\/revisions\/34359"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=34336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=34336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=34336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}