This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
Evaluate optimizability of internal EnumSet #401
Labels
analysis
Issue requiring analysis to determine severity
Allocating objects in hot loops can cause unwanted GC and memory pressure if the JVM cannot optimize them away with escape analysis. We use an EnumSet (to store which properties remain unset) versus bitwise operations for readability, but we could achieve similar readability by moving the bitwise logic into the generated Property enum, if there is any benefit.
The text was updated successfully, but these errors were encountered: