scala-native
scala-native copied to clipboard
Lots of repeated strings (package and class names) on SN binaries
I was examining some SN binaries created with release-size with GNU strings, and was surprised at the amount of times some strings are repeated, even after stripping the binary.
One of the worst offenders seems to be toStringL16java.lang.StringEO, but there are other culprits, like common root package names (java., scala., scalanative....).
I wonder if some of those strings could be written once and reused in all (or at least some) places. That could make some binaries much smaller.