Perf: Implement a new algorithm for pattern matching compilation to reduce code size
Compare changes
@@ -16,8 +16,10 @@ let label_to_var (Label.Label name) = Value_var.of_input_var ~loc:Location.gener
@@ -16,8 +16,10 @@ let label_to_var (Label.Label name) = Value_var.of_input_var ~loc:Location.gener
@@ -390,34 +392,39 @@ let swap_column_in_matrix : int -> matrix -> matrix =
@@ -390,34 +392,39 @@ let swap_column_in_matrix : int -> matrix -> matrix =
@@ -446,17 +453,23 @@ let rec compile : (Value_var.t * O.type_expression) list -> matrix -> decision_t
@@ -446,17 +453,23 @@ let rec compile : (Value_var.t * O.type_expression) list -> matrix -> decision_t
@@ -486,7 +499,7 @@ let rec compile : (Value_var.t * O.type_expression) list -> matrix -> decision_t
@@ -486,7 +499,7 @@ let rec compile : (Value_var.t * O.type_expression) list -> matrix -> decision_t
@@ -568,38 +581,18 @@ let test
@@ -568,38 +581,18 @@ let test
@@ -609,8 +602,9 @@ let test
@@ -609,8 +602,9 @@ let test