by i_don_t_know · 8mo ago · 0 comments
https://simon.peytonjones.org/assets/pdfs/slpj-book-1987-2up...
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.