Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy

Commits:
c6433387 by Carl Friedrich Bolz-Tereick at 2020-03-02T16:55:10+01:00
speed up integer parsing:
- no need to call the fully general startswith implementation if the second
  argument is always just 1 or 2 chars
- implement a fast path for base 10 along the lines of what antocuni did in the
  json decoder

- - - - -


2 changed files:

- rpython/rlib/rarithmetic.py
- rpython/rlib/rstring.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/commit/c643338703ada6140c710d4e1f397ee5fba586ea

---
View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/commit/c643338703ada6140c710d4e1f397ee5fba586ea
You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to