Patches item #1359618, was opened at 2005-11-18 03:00 Message generated for change (Comment added) made by jackdied You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1359618&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: Performance Group: None Status: Open Resolution: None Priority: 5 Submitted By: Martin v. Löwis (loewis) Assigned to: M.-A. Lemburg (lemburg) Summary: Speed charmap encoder Initial Comment: This patch speeds up the charmap encoder by a factor of 4 to 5, using a trie structure instead of a dictionary; the speedup primarily comes from not creating integer objects in the process. The trie is created by inverting the encoding map; the codec generator is changed to drop the encoding dictionary, and instead emit a function call to create the trie. ---------------------------------------------------------------------- Comment By: Jack Diederich (jackdied) Date: 2006-05-25 18:45 Message: Logged In: YES user_id=591932 Updated the patch as part of NeedForSpeed (mainly Py_ssize_t changes and some rejected chunks) Because the previous version on the trunk was broken I'm not sure what to compare the results against ;) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1359618&group_id=5470 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
