You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge?
There's room for a lot of optimization. e.g., we currently scan the entire input string multiple times (for trimming and string-based splitting), do various unnecessary heap allocations, use format! to produce the result, and re-parse using i256::from_string multiple times. For large inputs beyond the target type's scale, we don't need to look at the tail of the string.
Activity
neilconway commentedon Aug 12, 2026
take
[-]Parsing decimals from strings is very slow[/-][+]Optimize parsing decimals from strings[/+]perf(arrow-cast): optimize parsing of decimals from strings (apache#1…
perf(arrow-cast): optimize parsing of decimals from strings (apache#1…
perf(arrow-cast): optimize parsing of decimals from strings (apache#1…
perf(arrow-cast): optimize parsing of decimals from strings (apache#1…
perf(arrow-cast): optimize parsing of decimals from strings (apache#1…
perf(arrow-cast): optimize parsing of decimals from strings (apache#1…
perf(arrow-cast): optimize parsing of decimals from strings (apache#1…
perf(arrow-cast): optimize parsing of decimals from strings (apache#1…