| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Importing `base64` is now up to six times faster. The `re` module is now locally imported by `base64.b16decode` and is no more implicitly exposed as `base64.re`.
This entirely removes the needs to a regex.
There was a problem hiding this comment.
🚀
Sorry, something went wrong.
…8oADD.rst Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
…8oADD.rst Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
|
Thanks! A |
Sorry, something went wrong.
FYI @picnixz was recently promoted as a core dev and so can merge his own changes. |
Sorry, something went wrong.
|
(I don't mind others merging my PRs by the way) |
Sorry, something went wrong.
9.5 ms down to 5.7 ms is impressive but not six times - rather 60%? |
Sorry, something went wrong.
|
hyperfine benchmarks also take into account interpreter's startup and so, while -X importtime only takes into account the time needed to import the module itself (hence the differences). |
Sorry, something went wrong.
|
Sure, my bad. Importtime itself is of course six times faster. Thank you all for the great work here in cPython! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Benchmarks are on a RELEASE build (no PGO, no LTO).
See #128736 (comment) for the runtime performance improvements as well.
PR
Main