you are viewing a single comment's thread
view the rest of the comments
[–] 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