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/09/20 06:55:23 UTC
[GitHub] andrzej-kaczmarek opened a new pull request #1409: kernel/os: Make
os_time ms<->ticks conversions static inline
andrzej-kaczmarek opened a new pull request #1409: kernel/os: Make os_time ms<->ticks conversions static inline
URL: https://github.com/apache/mynewt-core/pull/1409
This allows conversions to be evaluated by compiler in case argument is a constant expression which results in faster code.
Note that it may increase code size a bit since all conversions where argument is not a constant expression will be evaluated, but the difference should be negligible. For example, for `bleprph` app it's 64 bytes more.
----------------------------------------------------------------
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