Repository navigation
Replies: 4 comments
|
Do you think the compiler will automatically optimize these operations anyway? |
0 replies
|
I ran some statements through the Godbolt.org GCC emulator using -Os: |
0 replies
|
Thanks for the above. Given that HomeKit and HAP do not require extreme speeds, I don't think such optimizations would do anything noticeable to performance or the system itself. And sometimes such optimizations make the code less readable (or obvious). |
0 replies
|
Understood and thanks as always for your hard work on this project! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi Gregg,
What do you think of bitwise operations and shifting in hot areas of code like the encryption and decryption code? Here are a few examples I am looking at:
HAP.cpp
All reactions