Add nextNodeBefore primitive.
[SXSI/XMLTree.git] / XMLTree.cpp
index a1eb13c..7ced902 100644 (file)
@@ -74,7 +74,7 @@ XMLTree::XMLTree( pb * const par, uint npar,  vector<string> * const TN,  TagIdM
     // creates the data structure for the tree topology\r
     Par = (bp *)umalloc(sizeof(bp));\r
     STARTTIMER();\r
-    bp_construct(Par, npar, (pb*) par, OPT_DEGREE|0);\r
+    bp_construct(Par, npar, (pb*) par, OPT_FAST_PREORDER_SELECT | OPT_DEGREE|0);\r
     STOPTIMER(Building);\r
     PRINTTIME("Building parenthesis struct", Building);\r
     STARTTIMER();\r