We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e67fa8f commit 9bf0dfbCopy full SHA for 9bf0dfb
src/zalsa_local.rs
@@ -309,6 +309,10 @@ pub(crate) struct QueryRevisions {
309
/// previous revision. To handle this, `diff_outputs` compares
310
/// the structs from the old/new revision and retains
311
/// only entries that appeared in the new revision.
312
+ ///
313
+ /// Since not all queries produce a tracked struct, wrapping
314
+ /// `IdentityMap` in an `Option<Box<T>>` reduces the size of
315
+ /// `QueryRevisions` by 3 words (24 bytes on a 64-bit platform).
316
pub(super) tracked_struct_ids: Option<Box<IdentityMap>>,
317
318
pub(super) accumulated: Option<Box<AccumulatedMap>>,
0 commit comments