TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Fixing Interface Erasure in Go

2 pointsby cdoxseyover 3 years ago

1 comment

tomohawkover 3 years ago
&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 未加载