//
sign in
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
Finding a needle in a 4 GB haystack: from 0.75 GB/s to 49 GB/s in Go Always interesting to see what moved the needle, but even more interesting how some assumptions just fall apart. segflow.github.io/post/fast-fi...
1d
I had a 4 GiB file that’s almost entirely zeros, exactly one non-zero int64 is hiding at offset Size - 8 (the last aligned slot). The task: find that offset, as fast as possible, in Go on Linux.
segflow.github.io
Finding a needle in a 4 GB haystack: from 0.75 GB/s to 49 GB/s in Go
Alexander Reelsen