datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
2018-11-30T11:36:28.000900Z

@lxsameer same in any database. Index is just a sorted materialized (copy) of data for fast lookups

2018-11-30T11:36:56.001300Z

more indexes → more storage space, slower inserts

2018-11-30T11:37:04.001500Z

but faster lookups

lxsameer 2018-11-30T13:54:42.002600Z

@tonsky yeah i see, but I expected the indexes to contain only the “index field” like indexes in relational databases. I didn’t know that we store the complete datum