Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Our solution was to replace the Integer object keyed map with a String[], indexed by the entity value. The array grows dynamically on initialization to accommodate existing (and new) entity values. Though sparsely populated, it is the fasted faster implementation for resolving an entity String value since now it is just an index into an array. Now new Java objects are created during normal processing of entity replacement.

...