perf(parser): speed up parsing numbers with `_` separators (#4259)
When parsing a number which contains `_` separators, rather than looping through the string once to remove separators, and then again to convert to an `f64`, do it all in a single loop.