You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/04/02 16:28:56 UTC

[GitHub] mlaz commented on issue #947: Refactor/easing library

mlaz commented on issue #947: Refactor/easing library
URL: https://github.com/apache/mynewt-core/pull/947#issuecomment-377970372
 
 
   @mlampert as you can see this lib is far from being optimized.
   My approach to this is to have an implementation which is accurate at first.
   Then let's talk about performance, take your LED case for instance: right now you may implement an easing_i_func_t which instead of calling one of the implemented functions may just use a lookup table.
   This is one approach, the other way we may work this out is to implement an alternate, architecture level optimized math lib (which is not something one is able to do overnight, see an exaple of this in 1.) and use it on our functions. 
   
   Some references here:
   1. https://web.archive.org/web/20161219143458/http://http.developer.nvidia.com:80/Cg/index_stdlib.html
   2. http://people.math.sfu.ca/~cbm/aands/abramowitz_and_stegun.pdf

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services