mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-12 10:48:19 -04:00
492e591845
# Description of Changes Provides new WASM ABIs: - `datastore_index_scan_point_bsatn` - `datastore_delete_by_index_scan_point_bsatn` These are then used where applicable to speed up `.find(_)` and friends. Point scans are also used more internally where applicable. What remains after this is use in C# module bindings and to expose this in TS as well. The PR makes TPS go from roughly 36k to 38k TPS on my machine and also makes a difference in flamegraphs where the time spent in some index scans are substantially decreased. # API and ABI breaking changes None # Expected complexity level and risk 3? This touches the datastore an how we expose it to modules. # Testing Some existing tests now exercise the new ABIs by changing what `.find(_)` and friends do. --------- Signed-off-by: Mazdak Farrokhzad <twingoow@gmail.com>
⚠️ Internal Crate ⚠️
This crate is intended for internal use only. It is not stable and may change without notice.