mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] mlaz commented on issue #947: Refactor/easing library
Date Mon, 02 Apr 2018 16:28:56 GMT
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

Mime
View raw message