Post #2766136
2025-12-31 13:42 UTC
@thephd@pony.social nice! i would expect this to also depend on the details of the abi make globals especially bad on amd64 elf because of linkage semantics. tho i guess no compiler will try to optimize away a global anyway
Replies (1)
-
@thephd@pony.social 2025-12-31 16:39
@erai@furry.engineer Yeah. I might rerun the test on x64 Windows with Clang and GCC to see if the costs of globals goes down and makes it negligible to the others.