Feedback
Add in-memory zlib, raw DEFLATE, and gzip compression
- Status
- Fixed
- Fixed in
- v26.10.1
- Area
- compiler
- Source discussion
- https://forum.objo.dev/d/1175-loop-performance/1
- Last updated
- 2026-10-05
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Add an in-memory API to compress and decompress MemoryBlock data in three interoperable formats: zlib (RFC 1950), raw DEFLATE (RFC 1951), and gzip (RFC 1952). Each operation should accept a MemoryBlock and return a new MemoryBlock.
This would let Objo applications exchange compressed binary payloads with other systems, including Java DeflaterOutputStream/InflaterInputStream protocols, without implementing a byte-by-byte compressor or decoder in Objo. ZIP archive operations do not expose these standalone stream formats. A default compression setting is sufficient for the initial API; selecting a level can be considered separately.