3 ms·
I dunno...even being from 1991, I had actually assumed this was intended as humor. Those are all simple enough (if not entirely trivial) optimizations that it
by 1amzave 16y ago
I dunno...even being from 1991, I had actually assumed this was intended as humor. Those are all simple enough (if not entirely trivial) optimizations that it doesn't take a particularly heroic compiler to perform them, even twenty years ago I'd guess.
Frankly, I got a good laugh out of it (that I thought was intended by the author).
- loumf 16y agoI was thinking something similar. I took a compiler course in college in 1990 and we were required to implement a couple of these optimizations (common sub-expressions, constant calculations). So I assume that they were considered easy.