News for hackers. Stuff that matters.
Re:The One Billion Row Challenge in Go: from 1m45s to 4s in ... by timetopay on Sunday March 03, 2024 @04:17AM (#39579597)
A few months ago, I had to quickly bang out a script to output about 20 million lines of text, each the output of a hash function. My naive solution took more than a few minutes - simple optimizations such as writing every 10k lines cut the time significantly. Threading would have helped quite a bit as well.

There are no comments on this comment yet.