mentat/db
Richard Newman a74a2deffc
Introduce RelResult rather than Vec<Vec<TypedValue>>. (#639) r=nalexander
* Pre: clean up core/src/lib.rs.
* Pre: use indexmap 1.0 in db and query-projector.
* Change rel results to be a RelResult instance, not a Vec<Vec<TypedValue>>.

This avoids memory fragmentation and improves locality by using a single
heap-allocated vector for all bindings, rather than a separate
heap-allocated vector for each row.

We hide this abstraction behind the `RelResult` type, which tracks the
stride length (width) of each row.

* Don't allocate temporary vectors when projecting RelResults.
2018-04-24 15:04:00 -07:00
..
src Allow retraction of some schema attributes. (#379) r=nalexander 2018-04-09 09:47:49 -07:00
tests Use Rc for TypedValue, Variable, and query Ident keywords. (#395) r=nalexander 2017-04-02 21:38:36 -07:00
Cargo.toml Introduce RelResult rather than Vec<Vec<TypedValue>>. (#639) r=nalexander 2018-04-24 15:04:00 -07:00
README.md Start installing SQL schema. (#171) r=rnewman 2017-01-25 16:13:56 -08:00

This sub-crate implements the SQLite database layer: installing, managing, and migrating forward the SQL schema underlying the datom store.