mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
We currently have two value types, `Value` and `OwnedValue`. The original thinking was that `Value` is external type and `OwnedValue` is internal type. However, this just results in unnecessary transformation between the types as data crosses the Limbo library boundary. Let's just follow SQLite here and consolidate on a single value type (where `sqlite3_value` is just an alias for the internal `Mem` type). The way this will eventually work is that we can have bunch of pre-allocated `OwnedValue` objects in `ProgramState` and basically return a reference to them all the way to the application itself, which extracts the actual value. |
||
|---|---|---|
| .. | ||
| limbo | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||
| example.py | ||
| Makefile | ||
| pyproject.toml | ||
| requirements-dev.txt | ||
| requirements.txt | ||