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

[WIP]Optimize dictFind call in db module: genericSetKey #216

Draft
wants to merge 1 commit into
base: 6.0-memkind_alloc_by_size
Choose a base branch
from

Conversation

michalbiesek
Copy link

@michalbiesek michalbiesek commented Aug 17, 2020

In case of overwrite scenario there are 3 calls for dictFind
*1st in genericSetKey -> lookupKeyWrite -> dictFind
*2nd in dbOverwrite
*3rd in removeExpire -> assertWithInfo
This change limit dictfind function call to 1


This change is Reviewable

In case of overwrite scenario there are 3 calls for dictFind
*1st in genericSetKey -> lookupKeyWrite -> dictFind
*2nd in dbOverwrite
*3rd in removeExpire -> assertWithInfo
This change limit dictfind function call to 1
@michalbiesek michalbiesek force-pushed the feat-minimize-dict-pmem-redis branch from d3c8f6d to 5d73d7c Compare August 17, 2020 14:04
@nvml-bot
Copy link

Can one of the admins verify this patch?

PatKamin added a commit to PatKamin/redis that referenced this pull request Oct 28, 2022
[5.0.14-devel] Fix make test failing
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