logoalt Hacker News

CorrectHorseBatyesterday at 6:41 PM1 replyview on HN

It's something we saw in highschool, I would expect anyone with a CS degree to recognize this optimization.

I barely know anything about compiler optimization, so I have no clue whether a compiler applying this optimization is surprising or something trivial.


Replies

saagarjhayesterday at 11:02 PM

Implementing this in a compiler is nontrivial.

show 1 reply