forked from rerun-io/rerun
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New chunkified latest-at APIs and caches (rerun-io#6992)
_(Don't be fooled by the diff size, it is 90% copy pasta)_ Introduces the new chunkified latest-at APIs and related caches. This is implemented, and works, very similarly to the legacy one. The one major difference is that we store `UnitChunk`s, and never ever deserialize data! 🥳 In addition, the new cache maintain a simple "`Clear` tracker", which greatly improved the performance of read-time clears. I've backported this mechanism to the legacy re_query, because why not.
- Loading branch information
Showing
24 changed files
with
9,944 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
[package] | ||
name = "re_query2" | ||
authors.workspace = true | ||
description = "High-level query APIs" | ||
edition.workspace = true | ||
homepage.workspace = true | ||
include.workspace = true | ||
license.workspace = true | ||
publish = true | ||
readme = "README.md" | ||
repository.workspace = true | ||
rust-version.workspace = true | ||
version.workspace = true | ||
|
||
[lints] | ||
workspace = true | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
|
||
[features] | ||
default = [] | ||
|
||
## Enable codegen helper binaries (generates ClampedZip & RangeZip implementations). | ||
codegen = [] | ||
|
||
|
||
[dependencies] | ||
# Rerun dependencies: | ||
re_chunk.workspace = true | ||
re_chunk_store.workspace = true | ||
re_error.workspace = true | ||
re_format.workspace = true | ||
re_log.workspace = true | ||
re_log_types.workspace = true | ||
re_tracing.workspace = true | ||
re_tuid.workspace = true | ||
re_types_core.workspace = true | ||
|
||
# External dependencies: | ||
ahash.workspace = true | ||
anyhow.workspace = true | ||
arrow2.workspace = true | ||
backtrace.workspace = true | ||
indent.workspace = true | ||
indexmap.workspace = true | ||
itertools.workspace = true | ||
nohash-hasher.workspace = true | ||
parking_lot.workspace = true | ||
paste.workspace = true | ||
seq-macro.workspace = true | ||
static_assertions.workspace = true | ||
thiserror.workspace = true | ||
|
||
|
||
[dev-dependencies] | ||
criterion.workspace = true | ||
mimalloc.workspace = true | ||
rand = { workspace = true, features = ["std", "std_rng"] } | ||
re_types.workspace = true | ||
similar-asserts.workspace = true | ||
|
||
[lib] | ||
bench = false | ||
|
||
|
||
[[bin]] | ||
name = "clamped_zip" | ||
required-features = ["codegen"] | ||
bench = false | ||
|
||
[[bin]] | ||
name = "range_zip" | ||
required-features = ["codegen"] | ||
bench = false | ||
|
||
|
||
[[bench]] | ||
name = "latest_at" | ||
harness = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# re_query2 | ||
|
||
Part of the [`rerun`](https://github.com/rerun-io/rerun) family of crates. | ||
|
||
[](https://crates.io/crates/re_query2) | ||
[](https://docs.rs/re_query2) | ||
 | ||
 | ||
|
||
High-level query APIs. |
Oops, something went wrong.