Stencil Selection
Simple: dense table dispatch
Peephole: ML pattern matching
-
Compiling Pattern Matching to Good Decision Trees
-
"How to compile pattern matching" by Jules Jacobs 2021
-
https://github.com/yorickpeterse/pattern-matching-in-rust/tree/main/jacobs2021
Advanced BURG trees
LLVM: SelectionDAG