skip to navigation
skip to content

fastcharmap 0.1.1

Faster (5x) charmap codec decode and encode in Pyrex

Fastcharmap is about 5 times faster than Python's charmap routines.

Usage: fastcharmap.hook('codec_name')

Fastcharmap inserts faster code that works when unicode() or "".encode are called. Installation requires a binary distribution or a C compiler; Pyrex is required for changes to the source. Python's developers are working on faster charmap codecs for a future version of Python; fastcharmap may be useful until then.