X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=tree.mli;h=a9c38f1e6c26828ee2b5e137ab68f52ff2d282ac;hb=c62b07ebdfc8cd5f40a2653ad73e659068b6e76f;hp=280d97dac608cffdcd8360f6eb179e09ca8d723d;hpb=7b6e25ac7c3b4e06c8386c1090bb69ae97a47143;p=SXSI%2Fxpathcomp.git diff --git a/tree.mli b/tree.mli index 280d97d..a9c38f1 100644 --- a/tree.mli +++ b/tree.mli @@ -11,7 +11,7 @@ val load : ?sample:int -> ?load_text:bool -> string -> t val tag_pool : t -> Tag.pool -type 'a node = private int +type 'a node type node_kind = [ `Tree | `Text ] val equal : [ `Tree ] node -> [ `Tree ] node -> bool val compare : [ `Tree ] node -> [ `Tree ] node -> int @@ -87,9 +87,11 @@ val text_next : t -> [`Tree] node -> [`Tree] node -> [`Tree] node val closing : t -> [`Tree] node -> [`Tree] node val is_open : t -> [`Tree] node -> bool -val benchmark_jump : t -> Tag.t -> unit -val benchmark_fcns : t -> unit +val benchmark_jump : t -> Tag.t -> int +val benchmark_fcns : t -> int +val benchmark_fene : t -> int val benchmark_lcps : t -> unit +val benchmark_iter : t -> int val stats : t -> unit val test_suffix : t -> string -> int