News for hackers. Stuff that matters.
Re:Expectations for generics in Go 1.18 by wwarner on Thursday October 28, 2021 @01:13AM (#29022608)
Yes, the same cost as calling a method through an interface. IIUC, the concrete implementation can change.
Re:Expectations for generics in Go 1.18 by mseepgood on Thursday October 28, 2021 @03:07AM (#29023268)
No, it does not have the same cost as calling a method through an interface.