TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Adventures with mmap and Go

20 点作者 dcu将近 9 年前

2 条评论

kristianp将近 9 年前
Google code search used mmap and go back in the day: Regular Expression Matching with a Trigram Index or How Google Code Search Worked <a href="https:&#x2F;&#x2F;swtch.com&#x2F;~rsc&#x2F;regexp&#x2F;regexp4.html" rel="nofollow">https:&#x2F;&#x2F;swtch.com&#x2F;~rsc&#x2F;regexp&#x2F;regexp4.html</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;codesearch&#x2F;tree&#x2F;master&#x2F;index" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;codesearch&#x2F;tree&#x2F;master&#x2F;index</a><p>I used mmap in a go project that had large (GByte) hash tables. Sidesteps any GC pauses and makes for very fast file loading.
评论 #12100412 未加载
jimsmart将近 9 年前
Maybe also ask your specific questions over on Go-nuts [0] - Lots of knowledgable Go folk there (including a bunch of the Go devs), and most questions get answered pretty quickly. HTH<p>[0] <a href="https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!forum&#x2F;golang-nuts" rel="nofollow">https:&#x2F;&#x2F;groups.google.com&#x2F;forum&#x2F;#!forum&#x2F;golang-nuts</a>
评论 #12100413 未加载