{"id":13731489,"url":"https://github.com/emmanuel-marty/em_inflate","last_synced_at":"2025-07-04T06:04:53.295Z","repository":{"id":98648044,"uuid":"189247426","full_name":"emmanuel-marty/em_inflate","owner":"emmanuel-marty","description":"Fast, small, in-memory inflate (zlib, deflate and gzip decompression) ","archived":false,"fork":false,"pushed_at":"2022-10-12T10:01:37.000Z","size":127,"stargazers_count":76,"open_issues_count":0,"forks_count":12,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-09T10:33:52.418Z","etag":null,"topics":["compression","compression-implementations","game-development","gzip","huffman","zlib","zlib-decompression-library","zlib-replacement","zopfli"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emmanuel-marty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-29T15:00:08.000Z","updated_at":"2025-03-16T09:03:27.000Z","dependencies_parsed_at":"2023-03-13T15:57:25.806Z","dependency_job_id":null,"html_url":"https://github.com/emmanuel-marty/em_inflate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-marty%2Fem_inflate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-marty%2Fem_inflate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-marty%2Fem_inflate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmanuel-marty%2Fem_inflate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmanuel-marty","download_url":"https://codeload.github.com/emmanuel-marty/em_inflate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252648598,"owners_count":21782411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","compression-implementations","game-development","gzip","huffman","zlib","zlib-decompression-library","zlib-replacement","zopfli"],"created_at":"2024-08-03T02:01:31.280Z","updated_at":"2025-05-06T08:31:23.056Z","avatar_url":"https://github.com/emmanuel-marty.png","language":"C","funding_links":[],"categories":["Maths"],"sub_categories":[],"readme":"em_inflate -- Fast, in-memory, single file decompressor for zlib, deflate and gzip\n==================================================================================\n\nem_inflate is a one-file, single function call, memory-to-memory decompressor for the zlib, deflate and gzip bitstream formats:\n\n[RFC 1950: ZLIB specification](https://www.ietf.org/rfc/rfc1950.txt)\n\n[RFC 1951: DEFLATE specification](https://www.ietf.org/rfc/rfc1951.txt)\n\n[RFC 1952: GZIP specification](https://www.ietf.org/rfc/rfc1952.txt)\n\nYou just need to add em_inflate.c and em_inflate.h to your project and call em_inflate() to decompress some data.\n\nem_inflate is less than 1,200 lines of C (including 300 lines of two different flavors of checksums), and decompresses faster than zlib.\n\nenwik8 decompression (gzip bitstream, 100,000,000 bytes compressed to 36,445,248 with gzip -9):\n\n    Decompressor                      Time (microseconds), core i7\n    zlib inflate 1.2.11               426,167 (100%)\n    em_inflate (verify checksum)      358,118 (84%)\n    em_inflate (skip checksum)        275,847 (64%)\n\nlarge raw texture decompression (zlib bitstream, 32,212,992 bytes compressed to 13,721,537 with gzip -9):\n\n    Decompressor                      Time (microseconds), core i7\n    zlib inflate 1.2.11               127,945 (100%)\n    em_inflate (verify checksum)      114,369 (89%)\n    em_inflate (skip checksum)        105,476 (82%)\n\nCode size (linux x86_64, clang 6.0.0 -O3, most of the rodata is checksum tables)\n\n    With checksums                    10,334 (code) + 4,624 (rodata)  14,958\n    Without checksums                 8,510 (code) + 518 (rodata)     9,028\n\nem_inflate is developed by Emmanuel Marty. gzip crc32 checksum by Stephen Brumme. adler checksum computation by Mark Adler. All code is licensed\nunder the zlib license, with the gzip crc32 code under a zlib-like license. All mentions are included in the sourcecode.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuel-marty%2Fem_inflate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmanuel-marty%2Fem_inflate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuel-marty%2Fem_inflate/lists"}