Use a circular buffer in VelocityTracker
Optimizes the frequently called addPoint() method while keeping the same velocity computation. Thx Cyril Mottier for help and tests.
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Optimizes the frequently called addPoint() method while keeping the same velocity computation. Thx Cyril Mottier for help and tests.