X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fptset.ml;h=c4a1b33a63eeb4d388d6e90bfd10552ec2fe87fe;hp=774b9fc5fa6846d298adb282baff3197c3c5e717;hb=9b75e9a2074c357fc2c823156451209d2a4cef8b;hpb=447476621700590e7386283c6d2850d6cd9721c8 diff --git a/src/ptset.ml b/src/ptset.ml index 774b9fc..c4a1b33 100644 --- a/src/ptset.ml +++ b/src/ptset.ml @@ -119,10 +119,10 @@ struct loop 7 let hbit = Array.init 256 naive_highest_bit - (* - external clz : int -> int = "caml_clz" "noalloc" - external leading_bit : int -> int = "caml_leading_bit" "noalloc" - *) + (* + external clz : int -> int = "caml_clz" "noalloc" + external leading_bit : int -> int = "caml_leading_bit" "noalloc" + *) let highest_bit x = try let n = (x) lsr 24 in @@ -182,14 +182,14 @@ struct in rmv t - (* should run in O(1) thanks to Hash consing *) + (* should run in O(1) thanks to hash consing *) let equal a b = Node.equal a b let compare a b = (Uid.to_int (Node.uid a)) - (Uid.to_int (Node.uid b)) let rec merge s t = - if (equal s t) (* This is cheap thanks to hash-consing *) + if equal s t (* This is cheap thanks to hash-consing *) then s else match Node.node s, Node.node t with