Browse Source

optimize ISet (no caml_compare)

Nicolas Cannasse 6 năm trước cách đây
mục cha
commit
9944dabde7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/generators/hlopt.ml

+ 1 - 1
src/generators/hlopt.ml

@@ -22,7 +22,7 @@
 open Hlcode
 
 module ISet = Set.Make(struct
-	let compare = Pervasives.compare
+	let compare a b = b - a
 	type t = int
 end)