ArrayList appears to exist solely to have its minimum taken
kpu opened this issue · comments
Kenneth Heafield commented
The objlinetop
object appears to exist as an ArrayList solely so that later code can take the minimum value.
Replace with a double and take the minimum on the fly. Same for many of the other objects in this function.
Dion Wiggins commented
Data is no longer kept in the collection as part of optimizations. The rewrite has removed this issue. Min value is calculated on the fly.