Browse Source

optimize ISet (no caml_compare)

Nicolas Cannasse 6 years ago
parent
commit
9944dabde7
1 changed files with 1 additions and 1 deletions
  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)