afs opened a new issue, #3558: URL: https://github.com/apache/jena/issues/3558
`LiteralLabel` can switch between calculating the literal's value when the LiteralLabel is created to on-demand (the first use of the value). Only Jena `GraphMem` (mostly legacy, but used by the Model API) using values to index. The value isn't always needed - for example, parse and print (`riot`) doe snot need the value. Enable "Lazy" mode. This will enable SPARQL-related `NodeValue` to avoid `LiteralLabel` value. jena-core maps to java classes, SPARQL values are XSD classes `javax.xml.datatypes`. Mostly they align but not exactly. Performance: parsing is 3% faster on a 100e6 BSBM .nt.gz file. (3%-5% is determined by clearing the machine of all other activity that might have back ground traffic during the parser run e.g. no browsers, no email client, ...) Parsing is also a little fast again in Jena 6.0.0 because of using jena-iri3986. With both those, parsing can be 5% faster than Jena 5.6.0 in ideal conditions. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
