Biggest impact is changing List to Map, I wouldn't have guessed it makes such an impact for a List only containing 8 entries.
Seconds biggest was not looking up the PositionFactory in the PositionSequenceIterator.
Some minor improvements came from the Position constructor.
Biggest impact is changing List to Map, I wouldn't have guessed it makes such an impact for a List only containing 8 entries. Seconds biggest was not looking up the PositionFactory in the PositionSequenceIterator. Some minor improvements came from the Position constructor.