X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=main.ml;h=021a18e935bc2b1886aab07cbaec018aa2b65ac5;hb=d550133ad7afdf65c5e284c2bcf67a5bdde6faa7;hp=4fcc0af9e2ed5631c5b2886e691ffec8ab270b94;hpb=70ff0bfc463882ecf233f1b1a7ac4a8007fa4cc2;p=SXSI%2Fxpathcomp.git diff --git a/main.ml b/main.ml index 4fcc0af..021a18e 100644 --- a/main.ml +++ b/main.ml @@ -79,6 +79,7 @@ let main v query_string output = (if !Options.count_only then "(counting only)" else if !Options.backward then "(bottomup)" else ""); begin let _ = Gc.full_major();Gc.compact() in + let _ = Printf.eprintf "%!" in (* let _ = Gc.set (disabled_gc) in *) if !Options.backward && ((snd test_list) != `NOTHING )then @@ -109,7 +110,7 @@ let main v query_string output = IdSet.iter (fun t -> Tree.print_xml_fast oc v t; output_char oc '\n'; - output_string oc "----------\n"; + ) result) (); end; end; @@ -125,7 +126,7 @@ let v = begin Printf.eprintf "Loading from file : "; time (Tree.load ~sample:!Options.sample_factor ) - (Filename.chop_suffix !Options.input_file ".srx"); + !Options.input_file; end else let v =