Re:Generics can make your Go code slower
by josefx on Wednesday March 30, 2022 @05:15PM
(#30860861)
I think that requires separate function sections, which themselves may cause bloat and data duplication.
[ Parent
| on HN ]
I, along with everyone in the embedded space, have been using separate function sections forever for --gc-sections and I would be very surprised if they really cause any bloat and duplication at runtime. Do you mean bloat for intermediate files?
It may be limited to intermediate files, I assumed that the downside would be bigger since it is not a default and the description mentioned that some things may not be merged as well.