Optimize SimpleTopLevelIndex by using a StringCache to canonicalize strings

The idea is to prevent allocation lots of duplicate strings, by exploiting the fact that most class files in a JAR have a lot of common path segments.

PiperOrigin-RevId: 691260507
3 files changed
tree: 641577ee925b629774eb53fa0d15ec50cc4c6dd0
  1. .github/
  2. .mvn/
  3. java/
  4. javatests/
  5. proto/
  6. .gitattributes
  7. .gitignore
  8. KEYS.txt
  9. LICENSE
  10. pom.xml
  11. README.md
README.md

Turbine

Turbine is a header compiler for Java.