Message124839
On Sat, Nov 27, 2010 at 5:03 PM, Marc-Andre Lemburg
<report@bugs.python.org> wrote:
..
> * this version should be slightly faster and is also easier to read:
>
> #define Py_UCS4_READ_CODE_POINT(ptr, end) \
..
> Py_UNICODE_JOIN_SURROGATES((ptr)++, (ptr)++) : \
..
> I haven't tested it, but you get the idea.
I don't think C guarantees the order of evaluation of the operands in
bitwise expressions such as the expansion of the JOIN_SURROGATES
macro. |
|
Date |
User |
Action |
Args |
2010-12-29 01:25:44 | belopolsky | set | recipients:
+ belopolsky, lemburg, loewis, doerwalter, rhettinger, amaury.forgeotdarc, Rhamphoryncus, pitrou, vstinner, eric.smith, stutzbach, ezio.melotti |
2010-12-29 01:25:41 | belopolsky | link | issue10542 messages |
2010-12-29 01:25:41 | belopolsky | create | |
|