![Richard Newman](/assets/img/avatar_default.png)
* 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.
33 lines
585 B
TOML
33 lines
585 B
TOML
[package]
|
|
name = "mentat_db"
|
|
version = "0.0.1"
|
|
workspace = ".."
|
|
|
|
[dependencies]
|
|
error-chain = { git = "https://github.com/rnewman/error-chain", branch = "rnewman/sync" }
|
|
indexmap = "1"
|
|
itertools = "0.7"
|
|
lazy_static = "0.2"
|
|
num = "0.1"
|
|
ordered-float = "0.5"
|
|
time = "0.1"
|
|
|
|
[dependencies.rusqlite]
|
|
version = "0.13"
|
|
features = ["limits"]
|
|
|
|
[dependencies.edn]
|
|
path = "../edn"
|
|
|
|
[dependencies.mentat_core]
|
|
path = "../core"
|
|
|
|
[dependencies.mentat_tx]
|
|
path = "../tx"
|
|
|
|
[dependencies.mentat_tx_parser]
|
|
path = "../tx-parser"
|
|
|
|
# Should be dev-dependencies.
|
|
[dependencies.tabwriter]
|
|
version = "1.0.3"
|