Hi Jean-Marc,
It's not that trivial to optimize your query, but I'd like to let you
know that pre-evaluation of function literals works if function
declarations are swapped [1].
Christian
[1] https://github.com/BaseXdb/basex/issues/1052
On Fri, Jan 2, 2015 at 10:19 AM, jean-marc Mercier
wrote
Hi Christian,
Thx a lot. Jean-Marc
2015-01-06 12:20 GMT+01:00 Christian Grün :
> Hi Jean-Marc,
>
> Dirk has already outlined well what this is about. I have added a new
> GitHub request [1].
>
> Cheers,
> Christian
>
> [1] https://github.com/BaseXdb/basex/issues/1052
>
>
>
> On Fri, Jan 2, 2015
Hi Jean-Marc,
Dirk has already outlined well what this is about. I have added a new
GitHub request [1].
Cheers,
Christian
[1] https://github.com/BaseXdb/basex/issues/1052
On Fri, Jan 2, 2015 at 11:30 PM, Dirk Kirsten wrote:
> Hello Jean-Marc,
>
> yeah, I can reproduce that. However, I would
Hello Jean-Marc,
yeah, I can reproduce that. However, I would not consider it a bug but rather a
not-so-clever optimizer. The optimized query looks something like this:
declare function local:dummy($db_0) { let $fun_8 := local:count_elements#1
return $fun_8($db_0) };
(prof:time(22383), prof:tim
errata : * declare variable $BigDb := db:open('MyBigDataBase');
2015-01-02 21:54 GMT+01:00 jean-marc Mercier :
> Dirk,
>
> Hello, sorry, but a very similar behavior seems to appear also in the
> latest version BaseX80-20141225.174535. Here is a new code to test :
>
> declare variable $BigDb := Ap
Dirk,
Hello, sorry, but a very similar behavior seems to appear also in the
latest version BaseX80-20141225.174535. Here is a new code to test :
declare variable $BigDb := AppParam:DBInputOpen($ConfigDoc);
declare function local:dummy($db) {local:call(local:count_elements#1,$db)};
declare functio
Hi Dirk,
You are right, I was using an old 8.0 BaseX version (seems to be the one
from 23/09/2014). The problem does not appear in the latest release. Thank
you !
2015-01-02 19:29 GMT+01:00 Dirk Kirsten :
> Hello Jean-Marc,
>
> what version of BaseX did you use? I tried with the latest snapshot
Hello Jean-Marc,
what version of BaseX did you use? I tried with the latest snapshot and used
the XMark dataset (with factor 80, which produces around the same number of
elements (133653910 to be exact) you had) and got the following output with an
up-to-date index:
- 0.01 ms
- 0.01 ms
- 0.0 m
Hello (and happy new year 2015 !)
I am facing some performance issues opening "big" databases due to an
(unexpected for me) argument evaluation during function composition. Is
this a normal behavior ?
Cheers
Here is a code description :
declare variable $db := db:open("MyBigDataBase");
declare
9 matches
Mail list logo