You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by GitBox <gi...@apache.org> on 2022/05/19 19:39:45 UTC
[GitHub] [jena] afs commented on issue #1324: Abysmal performance when parsing huge literal in query (e.g. 100MB)
afs commented on issue #1324:
URL: https://github.com/apache/jena/issues/1324#issuecomment-1132126541
I don't see a PR on the javacc issue that is suitable.
There is an interesting suggestion about lexical states. ARQ only parses from strings, not streams, and only from data already already converted UTF-8. Access to the input would enable slicing literals direly out of the string.
Rather than disrupt the existing processing, it could be done with a new token e.g. `X"...."`.
USER_CHAR_STREAM is also an option.
There is some investigation to do such as updating for Javacc 7.0 (the Jena codebase files were produced from JavaCC 6.0). #1328.
FYI: The different parsers use different techniques to handle unicode and it is in some tests about surrogate pairs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org