a74a2deffc
* 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.
35 lines
646 B
TOML
35 lines
646 B
TOML
[package]
|
|
name = "mentat_query_projector"
|
|
version = "0.0.1"
|
|
workspace = ".."
|
|
|
|
[dependencies]
|
|
error-chain = { git = "https://github.com/rnewman/error-chain", branch = "rnewman/sync" }
|
|
indexmap = "1"
|
|
|
|
[dependencies.rusqlite]
|
|
version = "0.13"
|
|
features = ["limits"]
|
|
|
|
[dependencies.mentat_core]
|
|
path = "../core"
|
|
|
|
[dependencies.mentat_db]
|
|
path = "../db"
|
|
|
|
[dependencies.mentat_sql]
|
|
path = "../sql"
|
|
|
|
[dependencies.mentat_query]
|
|
path = "../query"
|
|
|
|
[dependencies.mentat_query_algebrizer]
|
|
path = "../query-algebrizer"
|
|
|
|
# Only for tests.
|
|
[dev-dependencies.mentat_query_parser]
|
|
path = "../query-parser"
|
|
|
|
[dependencies.mentat_query_sql]
|
|
path = "../query-sql"
|
|
|