Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to Correctly Sum Up Numbers. Parent comment
This summing problem is solved by xsum: https://gitlab.com/radfordneal/xsum
There is room for more work here to make it faster or use less memory though.
Plus after sorting you can use SIMD to sum everything much faster.
But yes, xsum and the like are more accurate.
This summing problem is solved by xsum: https://gitlab.com/radfordneal/xsum
There is room for more work here to make it faster or use less memory though.