You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by GitBox <gi...@apache.org> on 2020/02/08 09:38:44 UTC

[GitHub] [jena] afs opened a new pull request #688: JENA-1838: Updates to PrefixMap

afs opened a new pull request #688: JENA-1838: Updates to PrefixMap
URL: https://github.com/apache/jena/pull/688
 
 
   https://issues.apache.org/jira/browse/JENA-1838
   
   Significant changes:
   * Remove use of `IRI` in the `PrefixMap` interface
   * Remove use of `IRI` in the `ParserProfile` interface
   * Rename `PrefixMap.contains` => `PrefixMap.containsPrefix`
   
   with deprecations for the originals.
   
   The output optimizations from earlier work for Turtle family writers is still in place.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org


[GitHub] [jena] afs merged pull request #688: JENA-1838: Updates to PrefixMap

Posted by GitBox <gi...@apache.org>.
afs merged pull request #688: JENA-1838: Updates to PrefixMap
URL: https://github.com/apache/jena/pull/688
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org


[GitHub] [jena] afs commented on issue #688: JENA-1838: Updates to PrefixMap

Posted by GitBox <gi...@apache.org>.
afs commented on issue #688: JENA-1838: Updates to PrefixMap
URL: https://github.com/apache/jena/pull/688#issuecomment-583721224
 
 
   I have tried running `TestAbbreviationPerformance` with lots of different values for the performance test of `FastAbbreviatingPrefixMap`. In all cases, up to 100k prefixes, the usual prefix map, with reverse URI lookup is faster.
   
   The DBOE prefix maps don't implement the caching reverse lookup (yet?). Managing the cache invalidation with the storage layering means the base level storage of prefixes has to do it.
   
   The Turtle family of writers copy the prefixes from the graph to a `PrefixMapStd` (which does have the reverse lookup cache). Writing is not the general case - the data isn't being updated while a writer is active so copy works.  For small numbers of prefixes (10s-100), this startup-time copy isn't significant compared to the work of writing.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org