quadstorejs / quadstore

A LevelDB-backed graph database for JS runtimes (Node.js, Deno, browsers, ...) supporting SPARQL queries and the RDF/JS interface.
https://github.com/quadstorejs/quadstore
MIT License
202 stars 14 forks source link

Avoid using leveldb values #157

Closed jacoscaz closed 1 year ago

jacoscaz commented 1 year ago

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. 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.

jacoscaz commented 1 year ago

closed via https://github.com/belayeng/quadstore/commit/5a39a65244b74cf3ddd83e1762b4d6d067a6a339