We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, thanks for creating this cool library - it is the fastest one i found so far 👍
One idea to make it even faster would be to turn on higher compiler optimisations for the core functions, see https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-Pragmas.html I did some experiments, by adding the following to xtm1638.cpp
at the top of the file, just after comments and includes are done (i.e. , directly after #include "xtm1638.h")
#include "xtm1638.h"
#pragma GCC push_options #pragma GCC optimize ("O2") //#pragma GCC optimize ("O3")
at end of the file
#pragma GCC pop_options
"example04" on my MEGA2560 - default options, Port manipulation mode, cached segments enabled
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
thanks for creating this cool library - it is the fastest one i found so far 👍
One idea to make it even faster would be to turn on higher compiler optimisations for the core functions, see https://gcc.gnu.org/onlinedocs/gcc/Function-Specific-Option-Pragmas.html
I did some experiments, by adding the following to xtm1638.cpp
at the top of the file, just after comments and includes are done (i.e. , directly after
#include "xtm1638.h"
)at end of the file
Testcase:
"example04" on my MEGA2560 - default options, Port manipulation mode, cached segments enabled
The text was updated successfully, but these errors were encountered: