3 ms·
> Does it make sense to write self-modifying code not for obfuscation but for optimization? Can we have such code to speed up calculations in a way that is not
by jhgb 5y ago
> Does it make sense to write self-modifying code not for obfuscation but for optimization? Can we have such code to speed up calculations in a way that is not possible with static code?
That depends; how broad is your definition of "self"? Within a process, this is a fairly common approach already (JIT).