diff --git a/.changeset/zero-rust-row-layout.md b/.changeset/zero-rust-row-layout.md deleted file mode 100644 index d8694f4996..0000000000 --- a/.changeset/zero-rust-row-layout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'zero-rust': patch ---- - -The rows of a table share one list of column names, their layout, instead of each keeping its own copy, and a synced row no longer allocates its column names when it is parsed. 100,000 rows and a view of them take 83 MB instead of 181 MB, materializing them takes 10.5 ms instead of 20.9 ms, and reading them as structs 23.8 ms instead of 48.3 ms. diff --git a/apps/zbugs-gpui/Cargo.lock b/apps/zbugs-gpui/Cargo.lock index 48654021e5..68fd9dbbf4 100644 --- a/apps/zbugs-gpui/Cargo.lock +++ b/apps/zbugs-gpui/Cargo.lock @@ -8589,7 +8589,7 @@ checksum = "6df3dc4292935e51816d896edcd52aa30bc297907c26167fec31e2b0c6a32524" [[package]] name = "zero-client" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rusqlite", ] diff --git a/apps/zbugs-model/Cargo.lock b/apps/zbugs-model/Cargo.lock index 60f695976b..22d6312e38 100644 --- a/apps/zbugs-model/Cargo.lock +++ b/apps/zbugs-model/Cargo.lock @@ -133,7 +133,7 @@ dependencies = [ [[package]] name = "zero-client" -version = "0.1.1" +version = "0.1.2" [[package]] name = "zmij" diff --git a/apps/zbugs-rune/Cargo.lock b/apps/zbugs-rune/Cargo.lock index 8b1c3d1463..a5721ff1de 100644 --- a/apps/zbugs-rune/Cargo.lock +++ b/apps/zbugs-rune/Cargo.lock @@ -4915,7 +4915,7 @@ checksum = "6df3dc4292935e51816d896edcd52aa30bc297907c26167fec31e2b0c6a32524" [[package]] name = "zero-client" -version = "0.1.1" +version = "0.1.2" dependencies = [ "futures-util", "rusqlite", diff --git a/packages/zero-rust-cli/CHANGELOG.md b/packages/zero-rust-cli/CHANGELOG.md index e0dda5512e..70e95b614e 100644 --- a/packages/zero-rust-cli/CHANGELOG.md +++ b/packages/zero-rust-cli/CHANGELOG.md @@ -1,5 +1,11 @@ # zero-rust +## 0.1.2 + +### Patch Changes + +- c5317d6: The rows of a table share one list of column names, their layout, instead of each keeping its own copy, and a synced row no longer allocates its column names when it is parsed. 100,000 rows and a view of them take 83 MB instead of 181 MB, materializing them takes 10.5 ms instead of 20.9 ms, and reading them as structs 23.8 ms instead of 48.3 ms. + ## 0.1.1 ### Patch Changes diff --git a/packages/zero-rust-cli/package.json b/packages/zero-rust-cli/package.json index 181a9a7c43..78c732cb70 100644 --- a/packages/zero-rust-cli/package.json +++ b/packages/zero-rust-cli/package.json @@ -1,6 +1,6 @@ { "name": "zero-rust", - "version": "0.1.1", + "version": "0.1.2", "description": "Generates the Rust row types, schema, and query builder of a Zero app for the Zero Rust client.", "license": "Apache-2.0", "repository": { diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 5ecbddf4ce..229a7383dc 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -639,7 +639,7 @@ dependencies = [ [[package]] name = "zero-client" -version = "0.1.1" +version = "0.1.2" dependencies = [ "futures-util", "rusqlite", @@ -657,7 +657,7 @@ dependencies = [ [[package]] name = "zero-conformance" -version = "0.1.1" +version = "0.1.2" dependencies = [ "zero-client", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 4abffa77b6..5ccc43450e 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -3,14 +3,14 @@ resolver = "3" members = ["zero-client", "conformance", "codegen-tests", "benchmarks"] [workspace.package] -version = "0.1.1" +version = "0.1.2" edition = "2024" rust-version = "1.88" license = "Apache-2.0" repository = "https://github.com/wevm/zero" [workspace.dependencies] -zero-client = { path = "zero-client", version = "0.1.1" } +zero-client = { path = "zero-client", version = "0.1.2" } [workspace.lints.rust] unsafe_code = "forbid"