Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Compiling Match Statements to Bytecode. Parent comment
It explains how to minimize the decisions trees you obtain from a match statement, so you gain a ton of efficiency over a naive implementation, especially for large, multi-column matches.
There are no comments on this comment yet.
It explains how to minimize the decisions trees you obtain from a match statement, so you gain a ton of efficiency over a naive implementation, especially for large, multi-column matches.