[pypy-commit] [Git][pypy/pypy][branch/default] #3682: speed up string_to_float by checking whether the string starts with a

Carl Friedrich Bolz-Tereick (@cfbolz) foss at heptapod.net
Thu Feb 17 07:46:04 EST 2022



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


Commits:
1ff02436 by Carl Friedrich Bolz-Tereick at 2022-02-17T13:45:38+01:00
#3682: speed up string_to_float by checking whether the string starts with a
space before string spaces and by only calling lower if parsing as a regular
numbers fails

- - - - -


2 changed files:

- rpython/rlib/rfloat.py
- rpython/rlib/test/test_rfloat.py


View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/1ff02436ea67149b512b24a6a129e0fe7280fa86

-- 
View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/1ff02436ea67149b512b24a6a129e0fe7280fa86
You're receiving this email because of your account on foss.heptapod.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/pypy-commit/attachments/20220217/f85b3a07/attachment.html>


More information about the pypy-commit mailing list