▲ | chabad360 2 days ago | |
I think the one really useful suggestion here is at the end of the article. Having some way for the compiler to know that a struct satisfies a particular interface, and thereby create a fast path that sidesteps reflection would be marked performance improvement (and avoid the need for caching). TBH, anything that can make interface casting faster/more efficient in go would be a welcome improvement. |