Преглед изворни кода

optimize ISet (no caml_compare)

Nicolas Cannasse пре 6 година
родитељ
комит
9944dabde7
1 измењених фајлова са 1 додато и 1 уклоњено
  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)