Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logical: reuse some allocations in the LWW row processor #125784

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

yuzefovich
Copy link
Member

We can easily reuse datums slice as well as the timestamp decimal datum between calls to insertRow and deleteRow since we never have concurrency between those on a single row processor. The difference is minor though, so it doesn't show up even in a microbenchmark.

Epic: None

Release note: None

We can easily reuse datums slice as well as the timestamp decimal datum
between calls to `insertRow` and `deleteRow` since we never have
concurrency between those on a single row processor. The difference is
minor though, so it doesn't show up even in a microbenchmark.

Release note: None
@yuzefovich yuzefovich requested a review from a team as a code owner June 17, 2024 16:33
Copy link

blathers-crl bot commented Jun 17, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich
Copy link
Member Author

TFTR!

bors r+

@craig craig bot merged commit 81d5418 into cockroachdb:master Jun 17, 2024
22 checks passed
@yuzefovich yuzefovich deleted the lww-nit branch June 17, 2024 18:55
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.

3 participants