mentat/tests
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
..
api.rs Add a test for exported symbols. 2017-05-03 15:57:09 -07:00
cache.rs Update cache on write. (#566) r=emily 2018-03-06 09:01:20 -08:00
external_test.rs Ergonomics improvements, including a kw macro. (#537) r=emily 2018-02-01 09:27:23 -08:00
query.rs Introduce RelResult rather than Vec<Vec<TypedValue>>. (#639) r=nalexander 2018-04-24 15:04:00 -07:00
tolstoy.rs Silence a warning in Tolstoy. 2018-04-03 14:01:29 -07:00
vocabulary.rs Introduce RelResult rather than Vec<Vec<TypedValue>>. (#639) r=nalexander 2018-04-24 15:04:00 -07:00