Implementation of in-memory compression with zlib.
Prduction of large XML.