| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Replace PyBytes_FromStringAndSize(NULL, size) with the new public PyBytesWriter API.
|
Microbenchmark on bytes + bytes: python -m pyperf timeit -s 'a=b"a"; b=b"b"' 'a+b' Result: Mean +- std dev: [ref] 38.0 ns +- 1.1 ns -> [pep782] 52.7 ns +- 1.7 ns: 1.39x slower. Oh, this change has a significant impact on performance. I prefer to abandon it. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Replace PyBytes_FromStringAndSize(NULL, size) with the new public PyBytesWriter API.