Comment Comment by kristianp Google code search used mmap and go back in the day: Regular Expression Matching with a Trigram Index or How Google Code Search Worked https://swtch.com/~rsc/regexp/regexp4.htmlhttps://github.com/google/codesearch/tree/master/indexI used mmap in a go project that had large (GByte) hash tables. Sidesteps any GC pauses and makes for very fast file loading. parent kristianp 10 years ago
https://github.com/google/codesearch/tree/master/index
I used mmap in a go project that had large (GByte) hash tables. Sidesteps any GC pauses and makes for very fast file loading.