Juri Leino
Juri Leino
I god it to build! Thanks @dhobsd for giving the hint to touch .c and .h files. I restored `src/libre/dialect/glob/parser{.c|.h}` 4 times from HEAD. Now I am curious if the...
I am surprised who is surprised here. As we have multiple examples that show the above (#3406 for example). See also the implementation of [xbow:distinct-duplicates](https://github.com/line-o/xbow/blob/be571a898f1a1bc5e3cb5933566d71c3a19ad700/src/content/xbow.xqm#L225-L238) dating back to 2019. Calls...
```xquery xquery version "3.1"; declare namespace map = "http://www.w3.org/2005/xpath-functions/map"; declare function local:disdup-reducer ($result as map(*), $next as xs:string) as map(*) { if (exists($result?distinct($next))) then (map:put($result, 'duplicates', ($result?duplicates, $next))) else (map:put($result,...
I would also like to see that we get to reproducible performance tests by stating on _which hardware_ ran it _how many times_ and what was the _fastest/slowest/mean_ execution time....
Can someone provide a link to the original discussion?
https://xmlcom.slack.com/archives/C011NLXE4DU/p1608718126076600
Micheal Kay came up with his neat solution: ```xquery let $seq := (1 to 50000, 1) let $sorted := sort($seq) return for-each-pair($sorted, tail($sorted), function($x, $y) { if ($x eq $y)...
I am in the middle of creating reproducible test cases / testing it.
There is no test case to add. This PR, unfortunately, does not affect the IOexceptions we observe when uploading large file over HTTPS.
No, as @dizzzz already pointed out this will improve performance for small files.