Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImprove parsing of numbers in util/str.rs #10861
Comments
|
I'd like to work on it. |
|
No, that's not the issue here. We want to not keep track of the number of digits parsed in |
|
Previous attempt at #10974. |
#10608 added support to parse double values from DOMStrings, but the mechanism it uses is messy - we have to keep track of how many digits we've parsed for the units part and the fraction part. We should make use of
take_while_reffrom the itertools crate.Code:
components/util/str.rs