Menu

📰
0

Reddit - Please wait for verification

The Go Programming Language·/u/Segflow·3 days ago
#riy1fJXC
Reading 0:00
15s threshold

Wrote up a deep dive on going from 0.75 GB/s to 49 GB/s scanning a 4 GB file in Go on Linux: a 66× speedup over the initial os.ReadFile. Covers chunked reads, mmap (with all the page-fault footguns), parallel pread, hand-written AVX2 asm, and Go 1.26's new simd/archsimd. https://segflow.github.io/post/fast-file-search-go/ submitted by /u/Segflow [link] [comments]

Read More