i've been trying to optimise some code for two hours now, entirely unsuccessfully. the naïve version generates a massive pile of movs and jmps, and i assumed i could do better. no matter what i did, i could only make the code slower. the few times i managed to make one benchmark 10% faster, the others became 50% slower.

finally, i received some very wise advice from my wife. this has helped me put things into a new perspective

discord screenshot. username: the pecha. comment: sometimes it's impossible to know what the compiler is cooking til you taste it
0

If you have a fediverse account, you can quote this note from your own instance. Search https://fedi.lynnesbian.space/users/lynnesbian/statuses/116167318898884072 on your instance and quote it. (Note that quoting is not supported in Mastodon.)