> I won't say too much more about this as I have been discussing it with
> Wolfgang this morning, and I think he will shortly post you a very
> fast example when using XQuery 3.1 Maps in eXist…

Well, Michael already posted something along those lines, but here’s my 
solution based on the public 3.1 draft:

xquery version "3.0";

let $a := 1 to 1000000
let $b := map:new((1 to 100) ! map:entry(xs:int(util:random() * 100000), 0))
return
    $a[map:contains($b, .)]

Wolfgang
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to