From d1f17224ed40165c284145ffbfcc1bd42882f825 Mon Sep 17 00:00:00 2001 From: kim Date: Tue, 27 Jan 2009 14:58:01 +0000 Subject: [PATCH] . git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/XMLTree@76 3cdefd35-fc62-479d-8e8d-bae585ffb9ca --- bp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bp.c b/bp.c index ebb98dc..c640816 100644 --- a/bp.c +++ b/bp.c @@ -266,7 +266,7 @@ int bp_construct(bp *b,int n, pb *B, int opt) mymalloc(b->da,1,0); darray_construct(b->da,n,B, opt & OPT_FAST_PREORDER_SELECT); b->idx_size += b->da->idx_size; - //Kim : commented this and the following ones, they polute the printing of the query answer + //Kim: comment this and the following, they polute the printing of the xpath library //printf("preorder rank/select table: %d bytes (%1.2f bpc)\n",b->da->idx_size,(double)b->da->idx_size*8/n); make_matchtbl(); @@ -387,7 +387,7 @@ int bp_construct(bp *b,int n, pb *B, int opt) if (opt & OPT_LEAF) { mymalloc(b->da_leaf,1,0); darray_pat_construct(b->da_leaf, n, B, 2, 0x2, opt & OPT_FAST_LEAF_SELECT); - printf("leaf rank/select table: %d bytes (%1.2f bpc)\n",b->da_leaf->idx_size,(double)b->da_leaf->idx_size*8/n); + //printf("leaf rank/select table: %d bytes (%1.2f bpc)\n",b->da_leaf->idx_size,(double)b->da_leaf->idx_size*8/n); b->idx_size += b->da_leaf->idx_size; } else { b->da_leaf = NULL; @@ -396,7 +396,7 @@ int bp_construct(bp *b,int n, pb *B, int opt) if (opt & OPT_INORDER) { mymalloc(b->da_inorder,1,0); darray_pat_construct(b->da_inorder, n, B, 2, 0x1, opt & OPT_FAST_INORDER_SELECT); - printf("inorder rank/select table: %d bytes (%1.2f bpc)\n",b->da_inorder->idx_size,(double)b->da_inorder->idx_size*8/n); + //printf("inorder rank/select table: %d bytes (%1.2f bpc)\n",b->da_inorder->idx_size,(double)b->da_inorder->idx_size*8/n); b->idx_size += b->da_inorder->idx_size; } else { b->da_inorder = NULL; -- 2.17.1