guido van rossum hoaufpythonorg hm zlib odd place find api unless know way gzip healthy though binascii isnt much better id rather expect vicinity md5 sha possible tweak c code use zlib version present old c code otherwise tue mar 18 2008 321 pm gregory p smith wrote modules crc32 function zlib version faster zlib compiled optimally zlib old uses c code ditch binasciicrc32 version py3k 64bit linux centos 51 python24 timeit fooabcdefghijklmnop10 import binascii mod f modcrc32 x xrange100000 ffoo 10 loops best 3 108 msec per loop python24 timeit fooabcdefghijklmnop10 import zlib mod f modcrc32 x xrange100000 ffoo 10 loops best 3 405 msec per loop 32bit macos x 104 python23 usrlibpython23timeitpy fooabcdefghijklmnop10 import binascii mod f modcrc32 x xrange100000 ffoo 10 loops best 3 737e04 usec per loop python23 usrlibpython23timeitpy fooabcdefghijklmnop10 import zlib mod f modcrc32 x xrange100000 ffoo 10 loops best 3 462e04 usec per loop removal binascii would break things platforms embedded systems wanting crc32 dont want include zlib anyone care 2x remove redundancy py3k guess deprecate binasciicrc32 remove 27 gps _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000guido40pythonorg guido van rossum home page httpwwwpythonorgguido _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom wed 06 aug 2008 092002 0700 python3000 binasciicrc32 vs zlibcrc32