lora-python 0.23.0__tar.gz → 0.24.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lora_python-0.23.0 → lora_python-0.24.1}/Cargo.lock +19 -19
- {lora_python-0.23.0 → lora_python-0.24.1}/Cargo.toml +13 -13
- {lora_python-0.23.0 → lora_python-0.24.1}/PKG-INFO +1 -1
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/src/optimizer.rs +1 -1
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/src/pattern.rs +4 -2
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/memory_baseline.json +29 -29
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/storage_baseline.rs +282 -4
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/changes/build.rs +19 -19
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/backend_stub.rs +15 -16
- lora_python-0.24.1/crates/lora-database/tests/planner_stats.rs +398 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/restart_index_state.rs +11 -7
- lora_python-0.24.1/crates/lora-database/tests/streaming_scans.rs +64 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/edge.rs +5 -5
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/node.rs +6 -6
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/value.rs +4 -4
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/expr.rs +20 -27
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/executor/helpers.rs +121 -67
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/executor/immutable.rs +6 -6
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/executor/mutable.rs +5 -5
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/expand.rs +1 -1
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/hydration.rs +2 -2
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/scan.rs +137 -29
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/traits.rs +3 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/value.rs +22 -3
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/columnar.rs +6 -6
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/tests.rs +3 -3
- lora_python-0.24.1/crates/lora-store/src/dict.rs +178 -0
- lora_python-0.24.1/crates/lora-store/src/encoded.rs +1017 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/lib.rs +15 -10
- lora_python-0.24.1/crates/lora-store/src/memory/adjacency.rs +335 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/chunked_vec.rs +16 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/constraint_enforce.rs +38 -32
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/cow.rs +165 -21
- lora_python-0.24.1/crates/lora-store/src/memory/distinct_stats.rs +861 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/fulltext_index.rs +11 -7
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/graph.rs +449 -376
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/id_set.rs +22 -12
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/impls.rs +154 -220
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/mem_report.rs +48 -66
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/mod.rs +10 -3
- lora_python-0.24.1/crates/lora-store/src/memory/model_tests.rs +571 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/property_index.rs +132 -30
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/secondary_index_maintenance.rs +6 -6
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/snapshot.rs +15 -4
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/stats.rs +25 -15
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/tests.rs +348 -12
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/traits.rs +62 -80
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/graph.rs +4 -4
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/mod.rs +5 -0
- lora_python-0.24.1/crates/lora-store/src/types/name.rs +356 -0
- lora_python-0.24.1/crates/lora-store/src/types/view.rs +722 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/pyproject.toml +1 -1
- {lora_python-0.23.0 → lora_python-0.24.1}/LICENSE +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/README.md +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-binding-buffer/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-binding-buffer/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-binding-buffer/src/stream.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/.gitignore +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/LICENSE +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/README.md +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/build.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/examples/async_demo.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/examples/basic.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/src/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/src/from_python.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/src/gil.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/src/stream.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/src/to_python.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/tests/test_async.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/tests/test_concurrency.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/tests/test_explain_profile.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/bindings/lora-python/tests/test_sync.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/analyzer/builtin_signatures.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/analyzer/clauses.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/analyzer/expressions.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/analyzer/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/analyzer/patterns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/analyzer/state.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/analyzer/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/resolved.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/scope.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/src/symbols.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-analyzer/tests/error_messages.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-ast/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-ast/src/ast.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-ast/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-builtins-meta/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-builtins-meta/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/src/logical.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/src/physical.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/src/plan_tree.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-compiler/src/planner.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/README.md +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/advanced.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/concurrency_guard.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/concurrent.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/engine.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/fixtures.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/index_acceleration.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/memory.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/perf_smoke.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/perf_smoke_baseline.json +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/query_implementations.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/realistic.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/scale.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/temporal_spatial.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/benches/wal.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/bulk_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/carried_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/heap_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/keyset_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/optional_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/perf_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/examples/pushdown_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/changes/history.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/changes/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/builder.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/changes.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/compile.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/execute.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/explain.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/graph_api.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/occ.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/procedures.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/profile.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/pull_mode.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/replay.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/row_projection.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/schema.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/show_pipeline.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/stream.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/database/write_guard.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/durable_io.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/error.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/explain.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/io.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/live_store.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/named.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/plan_cache.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/snapshot/json.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/snapshot/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/snapshot/store.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/stream.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/transaction.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/admin.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/archive/format.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/archive/lock.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/archive/platform.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/archive/worker.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/archive/workspace.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/archive.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/src/wal/write_scope.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/advanced_queries.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/aggregate_semantics.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/aggregation.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/and_or_short_circuit.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/bbox_antimeridian.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/binary.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/bit_shifts.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/borrowed_variable_reads.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/builtin_namespaces.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/call_subquery_writes.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/carried_value_sharing.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/change_feed.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/collect_nulls.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/comparison_ordering.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/constraints.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/create.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/cypher_compat.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/deferred_existence_end_state.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/docs_examples.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/early_limit.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/empty_ranges.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/entity_property_values.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/error_messages.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/explain_estimates.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/explain_profile.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/expression_semantics.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/expressions.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/foreach.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/fulltext_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/fulltext_list_properties.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/functions_extended.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/grouping_key_identity.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/id_seek.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/index_acceleration.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/integer_literals.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/invariants.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/limit_skip_counts.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/managed_snapshots.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/match.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/merge.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/merge_bound_end.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/missing_parameters.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/nested_aggregates.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/null_properties_and_deferred_existence.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/optional_match_correlated.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/optional_match_leading.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/order_by_aggregates.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/order_by_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/order_limit_semantics.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/ordering.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/parameters.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/parser.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/paths.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/pattern_subquery_property_seek.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/pattern_subquery_rel_properties.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/pattern_subquery_scope.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/pattern_subquery_var_length.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/planner_pushdown.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/procedure_yield.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/projection.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/range_scan_other_kinds.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/scale.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/schema.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/schema_in_transaction.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/seeds.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/shared_index_value_writes.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/snapshot.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/sort_limit_probe.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/spatial.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/starts_with_range_seek.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/statement_atomicity.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/string_number_addition.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/sum_empty.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal_constructor_functions.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal_constructors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal_map_components.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal_range_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal_strings.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal_time_zones.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/temporal_zone_accessors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/test_helpers.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/timeouts.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/transactions.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/types_advanced.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/union.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/unknown_names.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/unwind_ingestion.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/update.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/var_length_bound_endpoint.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/var_length_hop_ranges.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/vector_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/vectors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/wal.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/where_clause.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/with.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/with_predicates.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/write_path_bindings.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/write_results.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-database/tests/write_scaling.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/cancel.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/binops.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/bits_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/bytes_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/cast_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/crypto.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/geo.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/index_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/json_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/list.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/map_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/math_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/number.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/path.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/string_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/temporal.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/temporal_build.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/text.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/type_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/uuid_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/builtins/vector_ns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/functions.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/point.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/regex.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/eval/vector.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/executor/aggregation.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/executor/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/executor/optional.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/executor/sort.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/profile.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/aggregate.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/call_subquery.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/columns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/context.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/filter.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/mutable.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/optional.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/path.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/projection.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/shape.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/sort.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/source.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/src/pull/union.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-executor/tests/error_messages.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/src/csv.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/src/format.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/src/json_array.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/src/jsonl.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/src/mapping.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-io/src/value_json.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/cypher.pest +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/clauses.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/expressions.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/literals.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/patterns.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/query.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/schema.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/src/parser/util.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-parser/tests/error_messages.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/body.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/codec.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/envelope.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/format.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/options.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/transform.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/src/view.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-snapshot/tests/error_messages.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/codec.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/intern.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/lock_table.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/constraint_catalog.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/entity_index_store.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/hnsw.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/id_map.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/index_catalog.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/point_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/sorted_property_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/text_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/memory/vector_index.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/mutation.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/snapshot.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/binary/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/binary/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/binary/traits.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/binary/types.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/property_map.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/property_value.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/spatial/bbox.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/spatial/distance.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/spatial/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/spatial/point.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/spatial/srid.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/spatial/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/calendar.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/date.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/datetime.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/duration.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/format.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/parsing.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/time.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/temporal/zone.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/vector/build.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/vector/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/vector/similarity.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/vector/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/src/types/vector/types.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-store/tests/error_messages.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/Cargo.toml +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/codec/decode.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/codec/encode.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/codec/format.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/codec/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/codec/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/config.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/dir.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/history.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/io.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/lib.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/lock.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/lsn.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/record.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/recorder/errors.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/recorder/mirror.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/recorder/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/recorder/recorder.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/recorder/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/replay.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/segment.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/testing.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/wal/group_flusher.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/wal/mod.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/wal/tests.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/src/wal/wal.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/crates/lora-wal/tests/error_messages.rs +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/python/lora_python/__init__.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/python/lora_python/_async.py +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/python/lora_python/_native.pyi +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/python/lora_python/py.typed +0 -0
- {lora_python-0.23.0 → lora_python-0.24.1}/python/lora_python/types.py +0 -0
|
@@ -854,7 +854,7 @@ checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
|
854
854
|
|
|
855
855
|
[[package]]
|
|
856
856
|
name = "lora-analyzer"
|
|
857
|
-
version = "0.
|
|
857
|
+
version = "0.24.1"
|
|
858
858
|
dependencies = [
|
|
859
859
|
"lora-ast",
|
|
860
860
|
"lora-builtins-meta",
|
|
@@ -865,14 +865,14 @@ dependencies = [
|
|
|
865
865
|
|
|
866
866
|
[[package]]
|
|
867
867
|
name = "lora-ast"
|
|
868
|
-
version = "0.
|
|
868
|
+
version = "0.24.1"
|
|
869
869
|
dependencies = [
|
|
870
870
|
"smallvec 2.0.0-alpha.12",
|
|
871
871
|
]
|
|
872
872
|
|
|
873
873
|
[[package]]
|
|
874
874
|
name = "lora-binding-buffer"
|
|
875
|
-
version = "0.
|
|
875
|
+
version = "0.24.1"
|
|
876
876
|
dependencies = [
|
|
877
877
|
"lora-database",
|
|
878
878
|
"lora-store",
|
|
@@ -880,11 +880,11 @@ dependencies = [
|
|
|
880
880
|
|
|
881
881
|
[[package]]
|
|
882
882
|
name = "lora-builtins-meta"
|
|
883
|
-
version = "0.
|
|
883
|
+
version = "0.24.1"
|
|
884
884
|
|
|
885
885
|
[[package]]
|
|
886
886
|
name = "lora-compiler"
|
|
887
|
-
version = "0.
|
|
887
|
+
version = "0.24.1"
|
|
888
888
|
dependencies = [
|
|
889
889
|
"lora-analyzer",
|
|
890
890
|
"lora-ast",
|
|
@@ -893,7 +893,7 @@ dependencies = [
|
|
|
893
893
|
|
|
894
894
|
[[package]]
|
|
895
895
|
name = "lora-database"
|
|
896
|
-
version = "0.
|
|
896
|
+
version = "0.24.1"
|
|
897
897
|
dependencies = [
|
|
898
898
|
"anyhow",
|
|
899
899
|
"chacha20poly1305",
|
|
@@ -918,7 +918,7 @@ dependencies = [
|
|
|
918
918
|
|
|
919
919
|
[[package]]
|
|
920
920
|
name = "lora-executor"
|
|
921
|
-
version = "0.
|
|
921
|
+
version = "0.24.1"
|
|
922
922
|
dependencies = [
|
|
923
923
|
"blake3",
|
|
924
924
|
"crc32fast",
|
|
@@ -941,7 +941,7 @@ dependencies = [
|
|
|
941
941
|
|
|
942
942
|
[[package]]
|
|
943
943
|
name = "lora-ffi"
|
|
944
|
-
version = "0.
|
|
944
|
+
version = "0.24.1"
|
|
945
945
|
dependencies = [
|
|
946
946
|
"anyhow",
|
|
947
947
|
"lora-binding-buffer",
|
|
@@ -953,7 +953,7 @@ dependencies = [
|
|
|
953
953
|
|
|
954
954
|
[[package]]
|
|
955
955
|
name = "lora-io"
|
|
956
|
-
version = "0.
|
|
956
|
+
version = "0.24.1"
|
|
957
957
|
dependencies = [
|
|
958
958
|
"lora-executor",
|
|
959
959
|
"lora-store",
|
|
@@ -964,7 +964,7 @@ dependencies = [
|
|
|
964
964
|
|
|
965
965
|
[[package]]
|
|
966
966
|
name = "lora-node"
|
|
967
|
-
version = "0.
|
|
967
|
+
version = "0.24.1"
|
|
968
968
|
dependencies = [
|
|
969
969
|
"anyhow",
|
|
970
970
|
"lora-binding-buffer",
|
|
@@ -979,7 +979,7 @@ dependencies = [
|
|
|
979
979
|
|
|
980
980
|
[[package]]
|
|
981
981
|
name = "lora-parser"
|
|
982
|
-
version = "0.
|
|
982
|
+
version = "0.24.1"
|
|
983
983
|
dependencies = [
|
|
984
984
|
"lora-ast",
|
|
985
985
|
"pest",
|
|
@@ -990,7 +990,7 @@ dependencies = [
|
|
|
990
990
|
|
|
991
991
|
[[package]]
|
|
992
992
|
name = "lora-python"
|
|
993
|
-
version = "0.
|
|
993
|
+
version = "0.24.1"
|
|
994
994
|
dependencies = [
|
|
995
995
|
"anyhow",
|
|
996
996
|
"lora-binding-buffer",
|
|
@@ -1003,7 +1003,7 @@ dependencies = [
|
|
|
1003
1003
|
|
|
1004
1004
|
[[package]]
|
|
1005
1005
|
name = "lora-query-wasm"
|
|
1006
|
-
version = "0.
|
|
1006
|
+
version = "0.24.1"
|
|
1007
1007
|
dependencies = [
|
|
1008
1008
|
"console_error_panic_hook",
|
|
1009
1009
|
"js-sys",
|
|
@@ -1017,7 +1017,7 @@ dependencies = [
|
|
|
1017
1017
|
|
|
1018
1018
|
[[package]]
|
|
1019
1019
|
name = "lora-server"
|
|
1020
|
-
version = "0.
|
|
1020
|
+
version = "0.24.1"
|
|
1021
1021
|
dependencies = [
|
|
1022
1022
|
"anyhow",
|
|
1023
1023
|
"axum",
|
|
@@ -1032,7 +1032,7 @@ dependencies = [
|
|
|
1032
1032
|
|
|
1033
1033
|
[[package]]
|
|
1034
1034
|
name = "lora-snapshot"
|
|
1035
|
-
version = "0.
|
|
1035
|
+
version = "0.24.1"
|
|
1036
1036
|
dependencies = [
|
|
1037
1037
|
"argon2",
|
|
1038
1038
|
"blake3",
|
|
@@ -1047,7 +1047,7 @@ dependencies = [
|
|
|
1047
1047
|
|
|
1048
1048
|
[[package]]
|
|
1049
1049
|
name = "lora-store"
|
|
1050
|
-
version = "0.
|
|
1050
|
+
version = "0.24.1"
|
|
1051
1051
|
dependencies = [
|
|
1052
1052
|
"crc32fast",
|
|
1053
1053
|
"jiff",
|
|
@@ -1062,7 +1062,7 @@ dependencies = [
|
|
|
1062
1062
|
|
|
1063
1063
|
[[package]]
|
|
1064
1064
|
name = "lora-wal"
|
|
1065
|
-
version = "0.
|
|
1065
|
+
version = "0.24.1"
|
|
1066
1066
|
dependencies = [
|
|
1067
1067
|
"crc32fast",
|
|
1068
1068
|
"lora-store",
|
|
@@ -1072,7 +1072,7 @@ dependencies = [
|
|
|
1072
1072
|
|
|
1073
1073
|
[[package]]
|
|
1074
1074
|
name = "lora-wasm"
|
|
1075
|
-
version = "0.
|
|
1075
|
+
version = "0.24.1"
|
|
1076
1076
|
dependencies = [
|
|
1077
1077
|
"anyhow",
|
|
1078
1078
|
"console_error_panic_hook",
|
|
@@ -1088,7 +1088,7 @@ dependencies = [
|
|
|
1088
1088
|
|
|
1089
1089
|
[[package]]
|
|
1090
1090
|
name = "lora_ruby"
|
|
1091
|
-
version = "0.
|
|
1091
|
+
version = "0.24.1"
|
|
1092
1092
|
dependencies = [
|
|
1093
1093
|
"anyhow",
|
|
1094
1094
|
"lora-database",
|
|
@@ -4,7 +4,7 @@ resolver = "2"
|
|
|
4
4
|
|
|
5
5
|
[workspace.package]
|
|
6
6
|
edition = "2021"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.24.1"
|
|
8
8
|
license = "BUSL-1.1"
|
|
9
9
|
authors = ["LoraDB, Inc."]
|
|
10
10
|
repository = "https://github.com/lora-db/lora"
|
|
@@ -15,18 +15,18 @@ rust-version = "1.87"
|
|
|
15
15
|
# Internal crates — versions are kept in lockstep with [workspace.package].version
|
|
16
16
|
# by `scripts/sync-versions.mjs`. Both `path` and `version` are set so that
|
|
17
17
|
# `cargo publish` works (crates.io cannot resolve path-only deps).
|
|
18
|
-
lora-ast = { path = "crates/lora-ast", version = "=0.
|
|
19
|
-
lora-parser = { path = "crates/lora-parser", version = "=0.
|
|
20
|
-
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.
|
|
21
|
-
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.
|
|
22
|
-
lora-compiler = { path = "crates/lora-compiler", version = "=0.
|
|
23
|
-
lora-store = { path = "crates/lora-store", version = "=0.
|
|
24
|
-
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.
|
|
25
|
-
lora-io = { path = "crates/lora-io", version = "=0.
|
|
26
|
-
lora-wal = { path = "crates/lora-wal", version = "=0.
|
|
27
|
-
lora-executor = { path = "crates/lora-executor", version = "=0.
|
|
28
|
-
lora-database = { path = "crates/lora-database", version = "=0.
|
|
29
|
-
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.
|
|
18
|
+
lora-ast = { path = "crates/lora-ast", version = "=0.24.1" }
|
|
19
|
+
lora-parser = { path = "crates/lora-parser", version = "=0.24.1" }
|
|
20
|
+
lora-builtins-meta = { path = "crates/lora-builtins-meta", version = "=0.24.1" }
|
|
21
|
+
lora-analyzer = { path = "crates/lora-analyzer", version = "=0.24.1" }
|
|
22
|
+
lora-compiler = { path = "crates/lora-compiler", version = "=0.24.1" }
|
|
23
|
+
lora-store = { path = "crates/lora-store", version = "=0.24.1" }
|
|
24
|
+
lora-snapshot = { path = "crates/lora-snapshot", version = "=0.24.1", default-features = false }
|
|
25
|
+
lora-io = { path = "crates/lora-io", version = "=0.24.1" }
|
|
26
|
+
lora-wal = { path = "crates/lora-wal", version = "=0.24.1" }
|
|
27
|
+
lora-executor = { path = "crates/lora-executor", version = "=0.24.1", default-features = false }
|
|
28
|
+
lora-database = { path = "crates/lora-database", version = "=0.24.1" }
|
|
29
|
+
lora-binding-buffer = { path = "crates/bindings/lora-binding-buffer", version = "=0.24.1" }
|
|
30
30
|
|
|
31
31
|
# External crates.
|
|
32
32
|
anyhow = "1"
|
|
@@ -1560,7 +1560,7 @@ mod tests {
|
|
|
1560
1560
|
};
|
|
1561
1561
|
s.nodes_by_label.insert(label.to_string(), total);
|
|
1562
1562
|
if let Some(d) = distinct {
|
|
1563
|
-
s.node_distinct_values
|
|
1563
|
+
std::sync::Arc::make_mut(&mut s.node_distinct_values)
|
|
1564
1564
|
.insert((label.to_string(), "id".to_string()), d);
|
|
1565
1565
|
}
|
|
1566
1566
|
s
|
|
@@ -343,10 +343,12 @@ impl<'a> PatternPlanner<'a> {
|
|
|
343
343
|
|
|
344
344
|
let mut best = stats.label_count(label).unwrap_or(0);
|
|
345
345
|
for key in self.seekable_keys(var, node) {
|
|
346
|
-
|
|
346
|
+
// A distinct count exists for every key some node of the label
|
|
347
|
+
// carries, indexed or not.
|
|
348
|
+
let counted = stats
|
|
347
349
|
.node_distinct_values
|
|
348
350
|
.contains_key(&(label.to_string(), key.clone()));
|
|
349
|
-
if
|
|
351
|
+
if counted {
|
|
350
352
|
if let Some(rows) = stats.estimate_node_property_equality(label, &key) {
|
|
351
353
|
best = best.min(rows);
|
|
352
354
|
}
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_meta": {
|
|
3
3
|
"default_tolerance_pct": 10,
|
|
4
|
-
"last_updated": "2026-
|
|
5
|
-
"notes": "Captured from `cargo bench -p lora-database --bench memory -- --quick` on Apple Silicon. Numbers are bytes from `MemoryReport::total_bytes()` after the build phase (or after_query for chain/star/social which run a representative MATCH after building). Tolerance is per-scenario; a regression beyond `total * (1 + tolerance_pct/100)` fails the gate. Bump the baseline whenever an intentional storage-shape change shifts a scenario. 2026-09-29: property maps became key-sorted vectors, index postings inline single ids, adjacency lists inline two edges. These are MemoryReport estimates; `cargo run --release -p lora-database --example heap_probe` measures real allocations. Later the same day: slabs, adjacency and label indexes became chunked copy-on-write vectors and index maps copy-on-write shards (structural sharing for staged writes)."
|
|
4
|
+
"last_updated": "2026-10-06",
|
|
5
|
+
"notes": "Captured from `cargo bench -p lora-database --bench memory -- --quick` on Apple Silicon. Numbers are bytes from `MemoryReport::total_bytes()` after the build phase (or after_query for chain/star/social which run a representative MATCH after building). Tolerance is per-scenario; a regression beyond `total * (1 + tolerance_pct/100)` fails the gate. Bump the baseline whenever an intentional storage-shape change shifts a scenario. 2026-09-29: property maps became key-sorted vectors, index postings inline single ids, adjacency lists inline two edges. These are MemoryReport estimates; `cargo run --release -p lora-database --example heap_probe` measures real allocations. Later the same day: slabs, adjacency and label indexes became chunked copy-on-write vectors and index maps copy-on-write shards (structural sharing for staged writes). 2026-10-06: labels and relationship types are interned (no per-record strings) and adjacency entries carry the type and neighbour inline. Later the same day: records are stored as encoded bytes with dictionary-numbered labels, types and keys. And index entries shrank (32-byte key, 16-byte id set, sorted-array RANGE partitions, no second exact-match map)."
|
|
6
6
|
},
|
|
7
7
|
"benchmarks": {
|
|
8
8
|
"node_only_10k": {
|
|
9
|
-
"total_bytes":
|
|
10
|
-
"bytes_per_node":
|
|
9
|
+
"total_bytes": 969208,
|
|
10
|
+
"bytes_per_node": 38.7,
|
|
11
11
|
"tolerance_pct": 10
|
|
12
12
|
},
|
|
13
13
|
"chain_1000.build": {
|
|
14
|
-
"total_bytes":
|
|
15
|
-
"bytes_per_node":
|
|
16
|
-
"bytes_per_rel":
|
|
14
|
+
"total_bytes": 187089,
|
|
15
|
+
"bytes_per_node": 23.7,
|
|
16
|
+
"bytes_per_rel": 22.1,
|
|
17
17
|
"tolerance_pct": 10
|
|
18
18
|
},
|
|
19
19
|
"chain_10000.build": {
|
|
20
|
-
"total_bytes":
|
|
21
|
-
"bytes_per_node":
|
|
22
|
-
"bytes_per_rel":
|
|
20
|
+
"total_bytes": 1847401,
|
|
21
|
+
"bytes_per_node": 23.5,
|
|
22
|
+
"bytes_per_rel": 23.1,
|
|
23
23
|
"tolerance_pct": 10
|
|
24
24
|
},
|
|
25
25
|
"chain_100000.build": {
|
|
26
|
-
"total_bytes":
|
|
27
|
-
"bytes_per_node":
|
|
28
|
-
"bytes_per_rel":
|
|
26
|
+
"total_bytes": 18660552,
|
|
27
|
+
"bytes_per_node": 24,
|
|
28
|
+
"bytes_per_rel": 24.6,
|
|
29
29
|
"tolerance_pct": 10
|
|
30
30
|
},
|
|
31
31
|
"star_1000.build": {
|
|
32
|
-
"total_bytes":
|
|
33
|
-
"bytes_per_node":
|
|
34
|
-
"bytes_per_rel":
|
|
32
|
+
"total_bytes": 122523,
|
|
33
|
+
"bytes_per_node": 23.6,
|
|
34
|
+
"bytes_per_rel": 21.2,
|
|
35
35
|
"tolerance_pct": 10
|
|
36
36
|
},
|
|
37
37
|
"star_10000.build": {
|
|
38
|
-
"total_bytes":
|
|
39
|
-
"bytes_per_node":
|
|
40
|
-
"bytes_per_rel":
|
|
38
|
+
"total_bytes": 1263627,
|
|
39
|
+
"bytes_per_node": 24.4,
|
|
40
|
+
"bytes_per_rel": 22.2,
|
|
41
41
|
"tolerance_pct": 10
|
|
42
42
|
},
|
|
43
43
|
"star_100000.build": {
|
|
44
|
-
"total_bytes":
|
|
45
|
-
"bytes_per_node":
|
|
46
|
-
"bytes_per_rel":
|
|
44
|
+
"total_bytes": 12944780,
|
|
45
|
+
"bytes_per_node": 24.9,
|
|
46
|
+
"bytes_per_rel": 22.8,
|
|
47
47
|
"tolerance_pct": 10
|
|
48
48
|
},
|
|
49
49
|
"social_20k_x8.build": {
|
|
50
|
-
"total_bytes":
|
|
51
|
-
"bytes_per_node":
|
|
52
|
-
"bytes_per_rel":
|
|
50
|
+
"total_bytes": 11775011,
|
|
51
|
+
"bytes_per_node": 50.5,
|
|
52
|
+
"bytes_per_rel": 26.3,
|
|
53
53
|
"tolerance_pct": 10
|
|
54
54
|
},
|
|
55
55
|
"vector_flat_5k_d128": {
|
|
56
|
-
"total_bytes":
|
|
57
|
-
"bytes_per_node":
|
|
56
|
+
"total_bytes": 5975474,
|
|
57
|
+
"bytes_per_node": 553.3,
|
|
58
58
|
"tolerance_pct": 10
|
|
59
59
|
},
|
|
60
60
|
"vector_hnsw_5k_d128": {
|
|
61
|
-
"total_bytes":
|
|
62
|
-
"bytes_per_node":
|
|
61
|
+
"total_bytes": 9656954,
|
|
62
|
+
"bytes_per_node": 553.3,
|
|
63
63
|
"tolerance_pct": 15
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -563,7 +563,7 @@ fn lat_mode(n: u64) {
|
|
|
563
563
|
// --- raw store / facade -----------------------------------------
|
|
564
564
|
let snap = db.snapshot();
|
|
565
565
|
bench_batched("raw_with_node(borrow)", samples / 8, |r| {
|
|
566
|
-
let v = snap.with_node(r % n, |rec| rec.properties.len()).unwrap();
|
|
566
|
+
let v = snap.with_node(r % n, |rec| rec.properties().len()).unwrap();
|
|
567
567
|
std::hint::black_box(v);
|
|
568
568
|
});
|
|
569
569
|
bench_batched("raw_node(clone record)", samples / 8, |r| {
|
|
@@ -595,8 +595,8 @@ fn lat_mode(n: u64) {
|
|
|
595
595
|
let mut c = 0usize;
|
|
596
596
|
for id in snap.node_ids_by_label("Person") {
|
|
597
597
|
snap.with_node(id, |rec| {
|
|
598
|
-
if let Some(
|
|
599
|
-
if
|
|
598
|
+
if let Some(lora_store::ValueRef::Float(f)) = rec.properties().get("score") {
|
|
599
|
+
if f < -1.0 {
|
|
600
600
|
c += 1;
|
|
601
601
|
}
|
|
602
602
|
}
|
|
@@ -977,6 +977,278 @@ fn idlat_mode(n: u64) {
|
|
|
977
977
|
}
|
|
978
978
|
}
|
|
979
979
|
|
|
980
|
+
// ---------------------------------------------------------------------------
|
|
981
|
+
// hop mode: the traversal reads only, repeated in rounds, then a few writes
|
|
982
|
+
// ---------------------------------------------------------------------------
|
|
983
|
+
|
|
984
|
+
/// `hop <N>`: build the `lat` graph, then run `ROUNDS` rounds (default 5)
|
|
985
|
+
/// of the point and traversal reads, so one process gives several
|
|
986
|
+
/// medians per row to compare A/B builds with. `WRITES=1` adds the
|
|
987
|
+
/// staged-write rows once at the end.
|
|
988
|
+
fn hop_mode(n: u64) {
|
|
989
|
+
let samples: usize = std::env::var("SAMPLES")
|
|
990
|
+
.ok()
|
|
991
|
+
.and_then(|s| s.parse().ok())
|
|
992
|
+
.unwrap_or(20_000);
|
|
993
|
+
let rounds: usize = std::env::var("ROUNDS")
|
|
994
|
+
.ok()
|
|
995
|
+
.and_then(|s| s.parse().ok())
|
|
996
|
+
.unwrap_or(5);
|
|
997
|
+
let g = build(n, Props::All, true, true);
|
|
998
|
+
let db = Database::from_graph(g);
|
|
999
|
+
run(&db, "CREATE INDEX person_id FOR (p:Person) ON (p.id)");
|
|
1000
|
+
let pid = |r: u64| LoraValue::Int((r % n) as i64);
|
|
1001
|
+
let seek = "MATCH (p:Person {id: $id}) RETURN p.name AS name";
|
|
1002
|
+
let hop1 = "MATCH (p:Person {id: $id})-[:KNOWS]->(m) RETURN m.id AS id";
|
|
1003
|
+
let hop2 = "MATCH (p:Person {id: $id})-[:KNOWS]->()-[:KNOWS]->(m) RETURN m.id AS id";
|
|
1004
|
+
q(&db, seek, params(&[("id", pid(1))]));
|
|
1005
|
+
let types = vec!["KNOWS".to_string()];
|
|
1006
|
+
for round in 0..rounds {
|
|
1007
|
+
println!("round {round}");
|
|
1008
|
+
bench("cy_index_seek", samples, |r| {
|
|
1009
|
+
q(&db, seek, params(&[("id", pid(r))]));
|
|
1010
|
+
});
|
|
1011
|
+
bench("cy_1hop", samples, |r| {
|
|
1012
|
+
q(&db, hop1, params(&[("id", pid(r))]));
|
|
1013
|
+
});
|
|
1014
|
+
bench("cy_2hop", samples, |r| {
|
|
1015
|
+
q(&db, hop2, params(&[("id", pid(r))]));
|
|
1016
|
+
});
|
|
1017
|
+
let snap = db.snapshot();
|
|
1018
|
+
bench_batched("raw_with_node(borrow)", samples / 8, |r| {
|
|
1019
|
+
let v = snap.with_node(r % n, |rec| rec.properties().len()).unwrap();
|
|
1020
|
+
std::hint::black_box(v);
|
|
1021
|
+
});
|
|
1022
|
+
bench_batched("raw_1hop_ids", samples / 8, |r| {
|
|
1023
|
+
std::hint::black_box(snap.expand_ids(r % n, Direction::Right, &types));
|
|
1024
|
+
});
|
|
1025
|
+
bench_batched("raw_2hop_ids", samples / 8, |r| {
|
|
1026
|
+
let mut c = 0usize;
|
|
1027
|
+
for (_, m) in snap.expand_ids(r % n, Direction::Right, &types) {
|
|
1028
|
+
c += snap.expand_ids(m, Direction::Right, &types).len();
|
|
1029
|
+
}
|
|
1030
|
+
std::hint::black_box(c);
|
|
1031
|
+
});
|
|
1032
|
+
}
|
|
1033
|
+
if std::env::var("WRITES").is_err() {
|
|
1034
|
+
return;
|
|
1035
|
+
}
|
|
1036
|
+
let write_samples: usize = std::env::var("WRITE_SAMPLES")
|
|
1037
|
+
.ok()
|
|
1038
|
+
.and_then(|s| s.parse().ok())
|
|
1039
|
+
.unwrap_or(2_000);
|
|
1040
|
+
let rel_q = "MATCH (a:Person {id: $a}), (b:Person {id: $b}) CREATE (a)-[:KNOWS {w: 1}]->(b)";
|
|
1041
|
+
bench("cy_create_rel(staged)", write_samples, |r| {
|
|
1042
|
+
q(
|
|
1043
|
+
&db,
|
|
1044
|
+
rel_q,
|
|
1045
|
+
params(&[("a", pid(r)), ("b", pid(splitmix(r)))]),
|
|
1046
|
+
);
|
|
1047
|
+
});
|
|
1048
|
+
let mut next = n;
|
|
1049
|
+
bench("db.graph_create_node(api)", write_samples, |_| {
|
|
1050
|
+
let mut p = BTreeMap::new();
|
|
1051
|
+
p.insert("id".to_string(), LoraValue::Int(next as i64));
|
|
1052
|
+
next += 1;
|
|
1053
|
+
db.graph_create_node(vec!["Person".into()], p).unwrap();
|
|
1054
|
+
});
|
|
1055
|
+
run(
|
|
1056
|
+
&db,
|
|
1057
|
+
"CREATE CONSTRAINT acct_key FOR (a:Account) REQUIRE a.key IS UNIQUE",
|
|
1058
|
+
);
|
|
1059
|
+
let set_q = "MATCH (p:Person {id: $id}) SET p.score = $v";
|
|
1060
|
+
bench("cy_set_prop(staged: constraint)", write_samples, |r| {
|
|
1061
|
+
q(
|
|
1062
|
+
&db,
|
|
1063
|
+
set_q,
|
|
1064
|
+
params(&[("id", pid(r)), ("v", LoraValue::Float(2.5))]),
|
|
1065
|
+
);
|
|
1066
|
+
});
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
// ---------------------------------------------------------------------------
|
|
1070
|
+
// wide mode: records with many properties, and values that are not scalars
|
|
1071
|
+
// ---------------------------------------------------------------------------
|
|
1072
|
+
|
|
1073
|
+
/// `wide <W>`: 20k `:Item` nodes with `W` integer properties `p000..`,
|
|
1074
|
+
/// a datetime and a point. Times reading and writing one property of a
|
|
1075
|
+
/// wide record, and reads of the datetime and the point.
|
|
1076
|
+
fn wide_mode(width: u64) {
|
|
1077
|
+
let n = 20_000u64;
|
|
1078
|
+
let db = Database::in_memory();
|
|
1079
|
+
run(&db, "CREATE INDEX item_id FOR (i:Item) ON (i.id)");
|
|
1080
|
+
let assignments: String = (0..width).map(|k| format!(", p{k:03}: i + {k}")).collect();
|
|
1081
|
+
let mut start = 0;
|
|
1082
|
+
while start < n {
|
|
1083
|
+
let end = (start + 1000).min(n) - 1;
|
|
1084
|
+
run(
|
|
1085
|
+
&db,
|
|
1086
|
+
&format!(
|
|
1087
|
+
"UNWIND range({start}, {end}) AS i CREATE (:Item {{id: i, \
|
|
1088
|
+
created: datetime('2026-01-01T00:00:00Z') + duration({{minutes: i}}), \
|
|
1089
|
+
at: point({{latitude: 50.0 + (i % 100) / 100.0, longitude: 4.0}}){assignments}}})"
|
|
1090
|
+
),
|
|
1091
|
+
);
|
|
1092
|
+
start = end + 1;
|
|
1093
|
+
}
|
|
1094
|
+
let id = |r: u64| LoraValue::Int((r % n) as i64);
|
|
1095
|
+
let last = format!("p{:03}", width.saturating_sub(1));
|
|
1096
|
+
let samples = 10_000;
|
|
1097
|
+
for (name, query) in [
|
|
1098
|
+
(
|
|
1099
|
+
"cy_read_first_prop",
|
|
1100
|
+
"MATCH (i:Item {id: $id}) RETURN i.created AS v".to_string(),
|
|
1101
|
+
),
|
|
1102
|
+
(
|
|
1103
|
+
"cy_read_last_prop",
|
|
1104
|
+
format!("MATCH (i:Item {{id: $id}}) RETURN i.{last} AS v"),
|
|
1105
|
+
),
|
|
1106
|
+
(
|
|
1107
|
+
"cy_read_point",
|
|
1108
|
+
"MATCH (i:Item {id: $id}) RETURN i.at AS v".to_string(),
|
|
1109
|
+
),
|
|
1110
|
+
(
|
|
1111
|
+
"cy_read_whole_node",
|
|
1112
|
+
"MATCH (i:Item {id: $id}) RETURN i".to_string(),
|
|
1113
|
+
),
|
|
1114
|
+
] {
|
|
1115
|
+
bench(name, samples, |r| {
|
|
1116
|
+
q(&db, &query, params(&[("id", id(r))]));
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
let set_last = format!("MATCH (i:Item {{id: $id}}) SET i.{last} = $v");
|
|
1120
|
+
bench("cy_set_last_prop", samples, |r| {
|
|
1121
|
+
q(
|
|
1122
|
+
&db,
|
|
1123
|
+
&set_last,
|
|
1124
|
+
params(&[("id", id(r)), ("v", LoraValue::Int(r as i64))]),
|
|
1125
|
+
);
|
|
1126
|
+
});
|
|
1127
|
+
bench("cy_set_new_then_remove", samples / 2, |r| {
|
|
1128
|
+
q(
|
|
1129
|
+
&db,
|
|
1130
|
+
"MATCH (i:Item {id: $id}) SET i.zz = 1",
|
|
1131
|
+
params(&[("id", id(r))]),
|
|
1132
|
+
);
|
|
1133
|
+
q(
|
|
1134
|
+
&db,
|
|
1135
|
+
"MATCH (i:Item {id: $id}) REMOVE i.zz",
|
|
1136
|
+
params(&[("id", id(r))]),
|
|
1137
|
+
);
|
|
1138
|
+
});
|
|
1139
|
+
bench("db.graph_set_node_property", samples, |r| {
|
|
1140
|
+
db.graph_set_node_property(r % n, last.clone(), LoraValue::Int(r as i64))
|
|
1141
|
+
.unwrap();
|
|
1142
|
+
});
|
|
1143
|
+
for (name, query) in [
|
|
1144
|
+
(
|
|
1145
|
+
"cy_scan_datetime_filter",
|
|
1146
|
+
"MATCH (i:Item) WHERE i.created > datetime('2026-01-10T00:00:00Z') RETURN count(*) AS c",
|
|
1147
|
+
),
|
|
1148
|
+
(
|
|
1149
|
+
"cy_scan_point_filter",
|
|
1150
|
+
"MATCH (i:Item) WHERE point.distance(i.at, point({latitude: 50.5, longitude: 4.0})) < 10000 RETURN count(*) AS c",
|
|
1151
|
+
),
|
|
1152
|
+
("cy_scan_int_filter", "MATCH (i:Item) WHERE i.p000 > 10000 RETURN count(*) AS c"),
|
|
1153
|
+
] {
|
|
1154
|
+
let s = bench(name, 30, |_| {
|
|
1155
|
+
q(&db, query, params(&[]));
|
|
1156
|
+
});
|
|
1157
|
+
println!("info {name} ns_per_node={:.1}", s.median / n as f64);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
// ---------------------------------------------------------------------------
|
|
1162
|
+
// labels mode: equality lookups that name no label
|
|
1163
|
+
// ---------------------------------------------------------------------------
|
|
1164
|
+
|
|
1165
|
+
/// `labels <L>`: `L` labels of 1000 nodes each, every node with a unique
|
|
1166
|
+
/// `k`. Times an indexed equality lookup on `k` with and without a label:
|
|
1167
|
+
/// the lookup without one has to consider every label's nodes.
|
|
1168
|
+
fn labels_mode(labels: u64) {
|
|
1169
|
+
let per_label = 1000u64;
|
|
1170
|
+
let mut g = InMemoryGraph::new();
|
|
1171
|
+
for i in 0..labels * per_label {
|
|
1172
|
+
let mut p = Properties::new();
|
|
1173
|
+
p.insert(intern("k"), PropertyValue::Int(i as i64));
|
|
1174
|
+
g.create_node(vec![format!("L{}", i % labels)], p);
|
|
1175
|
+
}
|
|
1176
|
+
let n = labels * per_label;
|
|
1177
|
+
// Build the index before timing.
|
|
1178
|
+
g.find_node_ids_by_property(None, "k", &PropertyValue::Int(0));
|
|
1179
|
+
bench_batched("raw_find_by_prop(label)", 4_000, |r| {
|
|
1180
|
+
let i = r % n;
|
|
1181
|
+
let label = format!("L{}", i % labels);
|
|
1182
|
+
let ids = g.find_node_ids_by_property(Some(&label), "k", &PropertyValue::Int(i as i64));
|
|
1183
|
+
assert_eq!(ids.len(), 1);
|
|
1184
|
+
});
|
|
1185
|
+
bench_batched("raw_find_by_prop(no label)", 4_000, |r| {
|
|
1186
|
+
let i = r % n;
|
|
1187
|
+
let ids = g.find_node_ids_by_property(None, "k", &PropertyValue::Int(i as i64));
|
|
1188
|
+
assert_eq!(ids.len(), 1);
|
|
1189
|
+
});
|
|
1190
|
+
let db = Database::from_graph(g);
|
|
1191
|
+
let query = "MATCH (n {k: $k}) RETURN n.k AS k";
|
|
1192
|
+
// A pattern without a label is planned as a scan of every node, so
|
|
1193
|
+
// this row grows with the graph; keep its sample count in step.
|
|
1194
|
+
let samples = (20_000_000 / n).clamp(20, 20_000) as usize;
|
|
1195
|
+
bench("cy_seek(no label)", samples, |r| {
|
|
1196
|
+
q(&db, query, params(&[("k", LoraValue::Int((r % n) as i64))]));
|
|
1197
|
+
});
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
// ---------------------------------------------------------------------------
|
|
1201
|
+
// scan mode: scans that stop early, and one that does not
|
|
1202
|
+
// ---------------------------------------------------------------------------
|
|
1203
|
+
|
|
1204
|
+
/// `scan <N>`: build the `lat` graph and time label and all-node scans
|
|
1205
|
+
/// cut short by a `LIMIT`, plus one full filtered scan for reference.
|
|
1206
|
+
fn scan_mode(n: u64) {
|
|
1207
|
+
let samples: usize = std::env::var("SAMPLES")
|
|
1208
|
+
.ok()
|
|
1209
|
+
.and_then(|s| s.parse().ok())
|
|
1210
|
+
.unwrap_or(2_000);
|
|
1211
|
+
let scan_samples: usize = std::env::var("SCAN_SAMPLES")
|
|
1212
|
+
.ok()
|
|
1213
|
+
.and_then(|s| s.parse().ok())
|
|
1214
|
+
.unwrap_or(15);
|
|
1215
|
+
let g = build(n, Props::All, true, true);
|
|
1216
|
+
let db = Database::from_graph(g);
|
|
1217
|
+
for (name, query) in [
|
|
1218
|
+
(
|
|
1219
|
+
"cy_label_scan_limit10",
|
|
1220
|
+
"MATCH (p:Person) RETURN p.id AS id LIMIT 10",
|
|
1221
|
+
),
|
|
1222
|
+
(
|
|
1223
|
+
"cy_all_scan_limit10",
|
|
1224
|
+
"MATCH (p) RETURN p.id AS id LIMIT 10",
|
|
1225
|
+
),
|
|
1226
|
+
(
|
|
1227
|
+
"cy_label_scan_filter_limit10",
|
|
1228
|
+
"MATCH (p:Person) WHERE p.score > 0.5 RETURN p.id AS id LIMIT 10",
|
|
1229
|
+
),
|
|
1230
|
+
(
|
|
1231
|
+
"cy_label_scan_skip_limit",
|
|
1232
|
+
"MATCH (p:Person) RETURN p.id AS id SKIP 5000 LIMIT 10",
|
|
1233
|
+
),
|
|
1234
|
+
] {
|
|
1235
|
+
bench(name, samples, |_| {
|
|
1236
|
+
q(&db, query, params(&[]));
|
|
1237
|
+
});
|
|
1238
|
+
}
|
|
1239
|
+
let s = bench("cy_label_scan_filter", scan_samples, |_| {
|
|
1240
|
+
q(
|
|
1241
|
+
&db,
|
|
1242
|
+
"MATCH (p:Person) WHERE p.score > 1000000.0 RETURN p.id AS id",
|
|
1243
|
+
params(&[]),
|
|
1244
|
+
);
|
|
1245
|
+
});
|
|
1246
|
+
println!(
|
|
1247
|
+
"info cy_label_scan_filter ns_per_node={:.2}",
|
|
1248
|
+
s.median / n as f64
|
|
1249
|
+
);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
980
1252
|
fn main() {
|
|
981
1253
|
let args: Vec<String> = std::env::args().collect();
|
|
982
1254
|
let _ = Arc::new(0); // keep `Arc` import meaningful under cfg churn
|
|
@@ -987,6 +1259,12 @@ fn main() {
|
|
|
987
1259
|
Some("wal") => wal_mode(args[2].parse().unwrap()),
|
|
988
1260
|
Some("restart") => restart_mode(args[2].parse().unwrap()),
|
|
989
1261
|
Some("idlat") => idlat_mode(args[2].parse().unwrap()),
|
|
990
|
-
|
|
1262
|
+
Some("hop") => hop_mode(args[2].parse().unwrap()),
|
|
1263
|
+
Some("scan") => scan_mode(args[2].parse().unwrap()),
|
|
1264
|
+
Some("labels") => labels_mode(args[2].parse().unwrap()),
|
|
1265
|
+
Some("wide") => wide_mode(args[2].parse().unwrap()),
|
|
1266
|
+
_ => eprintln!(
|
|
1267
|
+
"usage: storage_baseline mem <variant> <N> | lat <N> | wal <N> | restart <N> | idlat <N> | hop <N> | scan <N> | labels <L> | wide <W>"
|
|
1268
|
+
),
|
|
991
1269
|
}
|
|
992
1270
|
}
|