Comment 9 for bug 921458

Revision history for this message
Paul J. Lucas (paul-lucas) wrote :

*With* William's patch, the query works for me and the string is never materialized (where x.xq is William's query):

$ time bin/zorba -f -q /tmp/x.xq
# ... output elided ...

real 0m58.719s
user 0m57.956s
sys 0m0.483s

It takes longer than it should, but it does run to completion in a not-too-long amount of time. However, the performance is pretty bad considering:

$ time wc -l /tmp/doc.xml
 1798219 /tmp/doc.xml

real 0m0.085s
user 0m0.069s
sys 0m0.016s