Skip to content

Commit

Permalink
note about smallvec
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Dec 2, 2023
1 parent d7fff63 commit 1963e56
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/re_arrow_store/src/store_event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ pub struct StoreDiff {
/// same value for both the insertion and deletion events (if any).
///
/// This is not a [`TimePoint`] for performance reasons.
//
// NOTE: Empirical testing shows that a SmallVec isn't any better in the best case, and can be a
// significant performant drop at worst.
// pub times: SmallVec<[(Timeline, TimeInt); 5]>, // "5 timelines ought to be enough for anyone"
pub times: Vec<(Timeline, TimeInt)>,

/// The [`EntityPath`] associated with that row.
Expand Down

0 comments on commit 1963e56

Please sign in to comment.