News for hackers. Stuff that matters.
Re:Go generics draft design: building a hashtable by nemetroid on Wednesday June 17, 2020 @04:19PM (#23556231)
The design doc doesn't say "simple", it says "efficient".

I think "simpler" would have been a stronger argument. While using <> would make the parser more complex, I have a hard time seeing that making a meaningful performance difference in a compilation context. Maybe if you're parsing a lot of Go without actually compiling it, but that doesn't seem like a use case to optimize for.

There are no comments on this comment yet.