Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
otabdeveloper4
· 2y ago · 0 comments
from_chars is the correct API here. When you're parsing decimal numbers you want to do it with streaming semantics.
Comments
[–]
mort96
2y ago
Hm but there's nothing streaming about it? You need the entire numeric string in memory
[–]
Leherenn
2y ago
I think they meant the other way around: you can have a single string in memory containing multiple numbers, and process that string as a stream.