Feature Requests item #1501108, was opened at 2006-06-05 11:40 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1501108&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Extension Modules Group: None Status: Open Resolution: None Priority: 5 Submitted By: Raymond Hettinger (rhettinger) Assigned to: Nobody/Anonymous (nobody) Summary: Add write buffering to gzip Initial Comment: A series of write() calls is dog slow compared to building-up a pool of data and then writing it in larger batches. The attached script demonstrates the speed-up potential. It compares a series of GzipFile.write() calls to an alternate approach using cStringIO.write() calls followed by a GzipFile.write(sio.getvalue()). On my box, there is a three-fold speed-up. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1501108&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com