dylan-smith / DiveIntelligence

1 stars 1 forks source link

Optimize `diveProfile.shortenLastSegment()` #219

Open dylan-smith opened 3 months ago

dylan-smith commented 3 months ago

Currently we are recalculating the whole segment, but we really just need to throw away the last X seconds of data based on how much it was shortened by.