faster math for ping?

Issue #73 resolved
Former user created an issue

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)

  1. Tim Eckel repo owner

    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.

  2. Log in to comment