Rev 5169: zlib.crc32 seems to be quite a bit faster than binascii.crc32 in http://bazaar.launchpad.net/~jameinel/bzr/other/gz-double-zlib
John Arbash Meinel
john at arbash-meinel.com
Thu Apr 29 23:08:40 BST 2010
At http://bazaar.launchpad.net/~jameinel/bzr/other/gz-double-zlib
------------------------------------------------------------
revno: 5169
revision-id: john at arbash-meinel.com-20100429220834-1zg31lotg09qirfc
parent: john at arbash-meinel.com-20100429201618-b9n9vchd59ieftfu
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: gz-double-zlib
timestamp: Thu 2010-04-29 17:08:34 -0500
message:
zlib.crc32 seems to be quite a bit faster than binascii.crc32
-------------- next part --------------
=== modified file 'bzrlib/_chk_map_pyx.pyx'
--- a/bzrlib/_chk_map_pyx.pyx 2010-04-29 20:16:18 +0000
+++ b/bzrlib/_chk_map_pyx.pyx 2010-04-29 22:08:34 +0000
@@ -65,7 +65,7 @@
Py_ssize_t)
cdef object crc32
-from binascii import crc32
+from zlib import crc32
# Set up the StaticTuple C_API functionality
More information about the bazaar-commits
mailing list