[PATCH] utf-8 encoder/decoder optimizations
Dmitry Vasiliev
lists at hlabs.spb.ru
Fri Nov 24 14:39:50 GMT 2006
The attached patch use previously looked up encoder/decoder instead of the
string/unicode methods for utf-8 encoding/decoding, which is almost 2 times
faster (benchmarked by timeit module).
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache_utf8.patch
Type: text/x-patch
Size: 1991 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061124/5ceaae2e/attachment.bin
More information about the bazaar
mailing list