AnsweredAssumed Answered

More efficient startup code

Question asked by pannuto.pat on Mar 2, 2016
Latest reply on Mar 3, 2016 by pannuto.pat
Hi all,

For an application I'm working on, I needed to speed up startup. I looked into the .init and .bss routines and saw that they weren't very efficient. I re-wrote them and got about a 2.2x improvement in startup time for my application. The revised code does the same thing, just in fewer cycles.

Feel free to use freely if this is useful for anyone. @ST, feel free to copy into the library you distribute.

https://gist.github.com/ppannuto/672328eb8184abdb9559

-Pat

Outcomes