Closed
Description
This is an umbrella issue following on from/working with #4819. The number <-> string conversion needs work and thought.
For example, the current to_str version allocates, and the current from_str doesn't work with the compiler optimisations very well: none of the (for example) exponent parsing code is removed when the function is specialised for int
s.
Another important thing to consider is how non-primitive numbers (e.g. bigint/rational) are to be supported/helped (including not at all, other than the normal to/from_str traits)
Metadata
Metadata
Assignees
Labels
No labels