jacoscaz / quadstore

A LevelDB-backed graph database for JS runtimes (Node.js, Deno, browsers, ...) supporting SPARQL queries and the RDF/JS interface.

Home Page:https://github.com/jacoscaz/quadstore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PERFORMANCE: avoid using values?

jacoscaz opened this issue · comments

Appending size buffers at the end of each key rather than storing them as values might make for greater iteration speed assuming that accessing values is relatively costly compared to keys alone. As per #130 , whether the ROI of doing this is high enough to justify the effort is TBD. This would also be a breaking change for existing datasets, thus candidate for a major release.

Closing this as ideas for performance improvements are now tracked as cards in https://github.com/beautifulinteractions/node-quadstore/projects/9 .