Skip to content

Conversation

@petrosagg
Copy link
Contributor

In microbenchmarks (see MaterializeInc/materialize#17998 (comment)) the code in the PR performed better than the current version.

In microbenchmarks (see MaterializeInc/materialize#17998 (comment))
the code in the PR performed better than the current version.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
match self.time {
Some(ref t) => if t != time {
self.flush();
self.time = Some(time.clone())
Copy link
Member

@frankmcsherry frankmcsherry Jun 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this to t.clone_from(time)? Thanks!

@petrosagg
Copy link
Contributor Author

closing since the changed code is no longer in the project

@petrosagg petrosagg closed this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants