Ignoring the optimization for the moment, I've applied William's patch.
However, it didn't properly read UTF-8 characters. I've since added
utf8::read() that reads UTF-8 byte sequence from an istream and am now
using it. However, there's another TODO in the code -- what to do if
utf8::read() reads an invalid UTF-8 byte sequence?
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
fn:string-to-codepoints() doesn't stream
Status in Zorba - The XQuery Processor:
Doesn't work in a streaming manner.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp