faster math for ping?
Issue #73
resolved
Hi Tim,
I am in a process of upgrading a lot of half projects and libraries and one of the code snippets were snippets to improve the math behind ping (division by 29) to improve speed.
Have a look at https://github.com/RobTillaart/fast_math
Think that especially the temperature compensated version is interesting.
Thanks for your time,, Rob Tillaart
Comments (2)
-
repo owner -
repo owner - changed status to resolved
I can't see how this could possibly be beneficial for a single integer divion every 50ms or so.
- Log in to comment
Speed of a single integer division only after a ping echo would be extremely trivial. I'd say even not measurable. One division every 50ms? Simply not worth it. And the extra program space needed to save a trivial amount of execution time I can't see this would really be beneficial for anyone.