Message202823
PyUnicodeWriter currently overallocates the internal buffer by 25%. On Windows, PyUnicodeWriter is slower than PyAccu API. With an overallocation factor of 50%, PyUnicodeWriter is fastter.
See this message for the benchmark:
http://bugs.python.org/issue19513#msg202312
We might also change the factor on all platform, performances are almost the same with a factor of 25% or 50% on Linux. |
|
Date |
User |
Action |
Args |
2013-11-14 09:37:25 | vstinner | set | recipients:
+ vstinner, pitrou, serhiy.storchaka |
2013-11-14 09:37:25 | vstinner | set | messageid: <1384421845.71.0.644153662303.issue19581@psf.upfronthosting.co.za> |
2013-11-14 09:37:25 | vstinner | link | issue19581 messages |
2013-11-14 09:37:25 | vstinner | create | |
|