Skip to content

Use shallow copy for ranked dicts when user_inputs are present in omnimatch #87

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AbsurdlySuspicious
Copy link

@AbsurdlySuspicious AbsurdlySuspicious commented Jun 12, 2025

Based on #84

Use shallow dict copy for _ranked_dictionaries when user inputs are present.
Should prevent possible issues with thread safety.
Performance impact should be minimal since there's not a lot of keys in root dictionary (less than 10 dictionaries by default)

@AbsurdlySuspicious AbsurdlySuspicious force-pushed the feature/user_inputs_copy branch from af1d4b2 to 98d87ec Compare June 12, 2025 17:56
@AbsurdlySuspicious AbsurdlySuspicious force-pushed the feature/user_inputs_copy branch from 98d87ec to c4951d4 Compare June 12, 2025 17:57
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.

1 participant