[Python-checkins] r46499 - in python/trunk: Include/pyport.h Include/unicodeobject.h Objects/stringobject.c

"Martin v. Löwis" martin at v.loewis.de
Sun May 28 19:39:03 CEST 2006


fredrik.lundh wrote:
> needforspeed: added Py_MEMCPY macro (currently tuned for Visual C only),
> and use it for string copy operations.  this gives a 20% speedup on some
> string benchmarks.

Shouldn't this better use

#pragma intrinsic(memcpy)

Regards,
Martin


More information about the Python-checkins mailing list