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

opt: Slightly less allocations in OpaqueObjLoader::CreateHMap #1227

Merged
merged 1 commit into from May 17, 2023

Conversation

royjacobson
Copy link
Contributor

Moves the temporary variable outside the loop so we can reuse the buffer.

Moves the temporary variable outside the loop so we can reuse the buffer.


Signed-off-by: Roy Jacobson <roy@dragonflydb.io>
@royjacobson royjacobson requested a review from chakaz May 17, 2023 07:06
Copy link
Collaborator

@chakaz chakaz left a comment

Choose a reason for hiding this comment

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

Cool :)

@royjacobson royjacobson merged commit a1a8acb into main May 17, 2023
6 checks passed
@romange romange deleted the create_hmap_alloc branch May 21, 2023 01:12
romange pushed a commit that referenced this pull request Jun 1, 2023
Moves the temporary variable outside the loop so we can reuse the buffer.

Signed-off-by: Roy Jacobson <roy@dragonflydb.io>
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.

None yet

3 participants