News for hackers. Stuff that matters.
Re:Performance patches in Go 1.11 by tedeh on Friday June 22, 2018 @09:56AM (#17373967)
... but they made one (runtime only) for that particular use case if I understood the slides correctly, and that is the optimization.
Re:Performance patches in Go 1.11 by dilap on Friday June 22, 2018 @11:16AM (#17374598)
yep, that's right. but it's not accessible to user code, so this isn't something that could be handled by a linter (as suggested by GP).

i'm actually happy with the situation. there is literally only one way to clear a map, and it is fast.