logoalt Hacker News

aw1621107today at 1:30 AM1 replyview on HN

You can further reduce the difference by passing Expr by pointer in the C version. At that point I think the only difference in the assembly is the order in which the cases are handed.


Replies

steveklabniktoday at 2:49 AM

Ah yeah, honestly both should probably be passed by pointer anyway. But that makes me wonder about the actual differences here and why... maybe something fun to dig into.