Any viable Assembly-level optimizations ideas? #6981
KaelaSavia
started this conversation in
Ideas
Replies: 2 comments
-
On a CPU, the bottleneck is not the number of instructions per second, but the bandwidth of the RAM. |
Beta Was this translation helpful? Give feedback.
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.
-
To go further beyond potential performance, I've been wondering if there's something we could do at assembly level. Like placing hot-functions/frequently called functions next to eachother in .code segment, perhaps that could improve performance by lessening distance the cpu has to jump to assembly instructions to execute
Other than that, I do wonder whether performance would be better on x86 versus x86-64 instruction set. Some of my projects had significant improvements on just x86, so perhaps having parts of architecture in x86 binary while others in x86-64 binary could improve performance due to lessening pointer arithmetics and such
It's just random brain thoughts im having but I think it's fun direction to explore
Beta Was this translation helpful? Give feedback.
All reactions