Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
storystarling
· 10mo ago · 0 comments
SQLite solves the storage layer but I suspect you run into a pretty big impedance mismatch on the graph traversals. For heavy DAG operations like history rewriting, a custom structure seems way more efficient than trying to model that relationally.
Comments
[–]
SQLite
10mo ago
The Common Table Expression feature of SQL is very good at walking graphs. See, for example <
https://sqlite.org/lang_with.html#queries_against_a_graph
>.