os.track.getTimeIndex will get the closest index to a specified timestamp using binary search, so it may be more performant to:
- Get the closest index to the age-off timestamp.
- Splice the flat coordinates array from the index to the end.
- Do the same for metadata.
This would avoid the getCoordinates call which reconstitutes the flat coordinates (unnecessary GC of all those arrays), and reversing/iterating over the entire array.
Originally posted by @schmidtk in ngageoint/opensphere#1243 (comment)