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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Fixing Interface Erasure in Go

2 点作者 cdoxsey超过 3 年前

1 comment

tomohawk超过 3 年前
&gt; We can use a switch with an integer which Go can optimize into a jump table.<p>I wasn&#x27;t aware that golang switch statements were ever turned into jump tables. But then again, maybe they will be soon?<p><a href="https:&#x2F;&#x2F;go-review.googlesource.com&#x2F;c&#x2F;go&#x2F;+&#x2F;357330&#x2F;" rel="nofollow">https:&#x2F;&#x2F;go-review.googlesource.com&#x2F;c&#x2F;go&#x2F;+&#x2F;357330&#x2F;</a>
评论 #29033231 未加载