
| Key: |
SES-457
|
| Type: |
Improvement
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Arjohn Kampman
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
Sesame
Created: 15/Oct/07 08:11 PM
Updated: 26/Sep/08 11:33 AM
|
|
| Component/s: |
Native Sail
|
| Affects Version/s: |
None
|
| Fix Version/s: |
2.2
|
|
Issue reported on the forum: http://www.openrdf.org/forum/mvnforum/viewthread?thread=1466
NativeStore.getContextIDs() currently stores all returned resources in a HashSet to filter duplicates. When the stores contains large numbers of contexts, this consumes large amounts of memory. In case a context-first index is available, this can be optimized by iterating over the triples in order, requiring only the last returned resources to be remembered.
|
|
Add context iteration methods to TripeStore and NativeStore that are optimized if an index starting with 'c' exists in revision 7430.
|
|