minor performance tuning;
authorwenzelm
Sat, 28 Sep 2024 15:41:51 +0200
changeset 80984 8400bba937be
parent 80983 2cc651d3ce8e
child 80985 6c93cbd65445
minor performance tuning;
src/Pure/Syntax/parser.ML
--- a/src/Pure/Syntax/parser.ML	Fri Sep 27 23:47:45 2024 +0200
+++ b/src/Pure/Syntax/parser.ML	Sat Sep 28 15:41:51 2024 +0200
@@ -540,7 +540,8 @@
     | (Tip t, Tip t') => Lexicon.token_ord (t, t')
     | _ => int_ord (apply2 cons_nr pts));
 
-structure Parsetrees = Table(type key = parsetree list val ord = list_ord parsetree_ord);
+structure Parsetrees =
+  Table(type key = parsetree list val ord = pointer_eq_ord (list_ord parsetree_ord));
 
 end;