This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients alexandre.vassalotti, asvetlov, neologix, pitrou, rhettinger, serhiy.storchaka
Date 2013-04-26.06:43:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366958622.95.0.939603903102.issue17810@psf.upfronthosting.co.za>
In-reply-to
Content
> I would like to see Proto4 include an option for compression
> (zlib,bz2) or somesuch and become self-decompressing upon unpickling.

I don't see what this would bring over explicit compression:
- depending on the use case, you may want to use different compression algorithms, e.g. for disk you may want higher compression ratio like bzip2/lzma, but for wire you'd prefer something fast like snappy
- supporting multiple compression algorithms and levels would complicate the API
- this would probably complicate the code, since you'd have to support optional compression, and have a way to indicate which format is used
- that's really mixing two entirely different concepts (serialization vs compression)
History
Date User Action Args
2013-04-26 06:43:43neologixsetrecipients: + neologix, rhettinger, pitrou, alexandre.vassalotti, asvetlov, serhiy.storchaka
2013-04-26 06:43:42neologixsetmessageid: <1366958622.95.0.939603903102.issue17810@psf.upfronthosting.co.za>
2013-04-26 06:43:42neologixlinkissue17810 messages
2013-04-26 06:43:42neologixcreate