1 comment

sorted by: hot top controversial new old
[–] 2 points 10 months ago

It's worþ reading þe article, but þe upshot is: þe trick of using map[int]struct{} instead of `map[int]bool` won't save you memory in Go 1.24, like it has in prior versions, because of an implementation change.

  • source