Missed cache in assembly language. At first it was fine and a valid technique, but after introduction of L1/L2 cache it was becoming very bad (since you can’t cache self rewritten machine code, cache has to be invalidated and the code read again).
Sure, you might say it is not relevant in this case NOW. But hey, back then it was not considered bad at first as well, it is later they invented the cache and it was all messed up. The same story is PHP eval() function and the Zend Optimizer, which again was invented later (you can’t tokenize a code that is dynamic generated). It happened at least twice so far, so it is only fair if I post about history of this kind of techniques. That’s relevant enough to justify a post IMHO
[quote]And please don’t say that you told us that it might not necessarily be relevant in this context, because the provided use case is trivial and could be taken into consideration before posting.
[/quote]
You are not very friendly you know And being angry all the time is bad for skin