Any viable Assembly-level optimizations ideas? #6981
KaelaSavia
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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