Self-modifying code! The real kind!

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 7 13:43:52 PDT 2017


On Thursday, 6 April 2017 at 05:36:52 UTC, Swoorup Joshi wrote:
> Self-modifying might be the answer to all sorts of performance 
> problems due to branching.

No it's not! You are throwing away your i-cache AND mess up the 
branch prediction.


More information about the Digitalmars-d mailing list