logoalt Hacker News

dmpk2kyesterday at 4:29 PM1 replyview on HN

It's a JIT nowadays. Admittedly an extremely simple one, to minimize compile times and maintenance overhead.

You can get substantial performance improvements by using guards though. See what Wings3D does with is_float() everywhere in hot numeric-heavy code.


Replies

travisgriggstoday at 6:03 AM

Can you elaborate why adding guards makes things faster?

show 1 reply