mentat/core/src
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
..
cache.rs Update cache on write. (#566) r=emily 2018-03-06 09:01:20 -08:00
counter.rs Automatically remove trailing whitespace from text files. (#527) r=rnewman 2018-01-19 21:21:04 -06:00
intern_set.rs Preliminary work for vocabulary management. r=emily,nalexander 2018-01-23 08:25:32 -08:00
lib.rs Introduce RelResult rather than Vec<Vec<TypedValue>>. (#639) r=nalexander 2018-04-24 15:04:00 -07:00
util.rs Pre: move Either to mentat_core::util. 2017-06-15 10:28:02 -07:00
values.rs Fix merge conflict. 2018-04-03 14:54:46 -07:00