[C++-sig] Some thoughts on py3k support

Niall Douglas s_sourceforge at nedprod.com
Thu Mar 19 17:51:21 CET 2009


On 20 Mar 2009 at 0:20, Haoyu Bai wrote:

> Yes unicode string can't faster than raw string. However one can use
> the bytes object while regarding to performance.

I took from reading the py3k docs that strings are now always held 
internally as utf-8?

On that assumption I proposed the treating of C++ string literals as 
utf-8 as in there would be no parsing or translation required in the 
usual case.

Cheers,
Niall





More information about the Cplusplus-sig mailing list