Requesting Help with Optimizing Code
tsbockman
thomas.bockman at gmail.com
Thu Apr 8 18:39:20 UTC 2021
On Thursday, 8 April 2021 at 17:00:31 UTC, Kyle Ingraham wrote:
> Thanks for shining light on a level of optimization that I did
> not know existed. I've got a lot of learning to do in this
> area. Do you have any resources you'd recommend?
I learned a lot about micro-optimization from studying the ASM
output of my inner loop code in Godbolt's Compiler Explorer,
which supports D:
https://godbolt.org/
Other complementary resources:
https://www.felixcloutier.com/x86/
https://www.agner.org/optimize/
Understanding the basics of how prefetchers and cache memory
hierarchies work is important, too.
More information about the Digitalmars-d
mailing list