afs opened a new issue, #1930: URL: https://github.com/apache/jena/issues/1930
### Version 4.8.0 ### Feature CacheSimple uses Java locking to make thread-safe change. But CacheSimple is for caching quite cheap objects and is low overhead - it does not create internal java objects For caching expensive to to build objects, use the default cache (Caffeine or Google Guava backed). For example, it can be used in RDF parsing as a intern cache. Parsing and using cached nodes for URIs save a lot of space - up to 30% (vocabularies produce a lot of use of the same URI). The current use of java locks imposes a significant time cost when parsing. For the binary formats, this amounts to as much as 15% time overhead (the binary formats parse at about 800k to 1 million triples per second). ### Are you interested in contributing a solution yourself? Yes -- 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]
