Martin v. Löwis <mar...@v.loewis.de> added the comment:

I'm -1 on using signed char in the implementation. If this gives any advantage, 
it's because the compiler is not able to generate as efficient code for 
unsigned char as it does for signed char. So the performance results may again 
change if you switch compilers, or use the next compiler version.

The code should do what is *logically* correct; IMO, UTF-8 is really a sequence 
of unsigned bytes, conceptually.

So if you want to demonstrate any performance improvements, you need to do so 
with unsigned chars.

----------
nosy: +loewis

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14654>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to