Hi Erdal,
execution times are generally highly dependent on the queries you are
working with, but in the given case, you may get better performance by
directly calling QueryProcessor.iter() instead of
QueryProcessor.execute(). Btw, I’m not sure where to find the
Result.iter() function? Do you refer to QueryProcessor.iter() ?
Christian
___________________________
2013/10/11 Erdal Karaca <erdal.karaca.de@gmail.com>:
> _______________________________________________> Hi all,
> When using the QueryProcessor to execute a query, then, constructing an
> iterator from the Result object takes almost as long as the query execution
> itself.
> For example, if QueryProcessor.execute() consumes 100 ms, then Result.iter()
> takes an additional 75%. Same with Result.value().
>
> Is there something I can boost up?
>
> Thanks!
>
> Erdal
>
> BaseX-Talk mailing list
> BaseX-Talk@mailman.uni-konstanz.de
> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
>