You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
os.track.getTimeIndex
will get the closest index to a specified timestamp using binary search, so it may be more performant to: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)
The text was updated successfully, but these errors were encountered: