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

objstorage: optimize MemObj.NewReadHandle #4080

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

RaduBerinde
Copy link
Member

@RaduBerinde RaduBerinde commented Oct 19, 2024

Better implementation for MemObj.NewReadHandle which doesn't
allocate (the allocation shows up in microbenchmark profiles and is a
red-herring as the production path would use a preallocated handle).

@RaduBerinde RaduBerinde requested a review from a team as a code owner October 19, 2024 18:01
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Better implementation for `MemObj.NewReadHandle` which doesn't
allocate (the allocation shows up in profiles and is a red-herring as
the production path would use a preallocated handle).
Copy link
Collaborator

@jbowens jbowens left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @RaduBerinde)

@RaduBerinde RaduBerinde merged commit 78801b2 into cockroachdb:master Oct 20, 2024
23 checks passed
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