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

bpo-44160: speed up searching for keywords by using a dictionary #26200

Closed
wants to merge 2 commits into from

Conversation

sweeneyde
Copy link
Member

@sweeneyde sweeneyde commented May 17, 2021

@pablogsal
Copy link
Member

pablogsal commented May 17, 2021

Humm, this change should be reviewed with care and this makes all code objects bigger and therefore raises the memory profile of the whole interpreter, which is something that people have mentioning they care about a lot.

@pablogsal
Copy link
Member

Given they functions are normally called with quote a few keyword arguments is not clear to me that this will speed up the general case as d linear cache friendly search is normally faster than a dictionary lookup.

@sweeneyde sweeneyde closed this May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants