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

Simplify static_dict #203

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

nyurik
Copy link
Contributor

@nyurik nyurik commented May 12, 2024

  • Convert IsMatch(dict, ...) into a member method. The original IsMatch is marked as deprecated - and we probably can delete it, but it will require a major release due to being a breaking change. So for now, lets keep it, but remove it when releasing a new breaking version
  • Same for BrotliFindAllStaticDictionaryMatches
  • lots of internal simplifications - like using direct comparisons, using bools, etc

@nyurik nyurik force-pushed the optimize-static-dict branch from 4901706 to 86707ce Compare May 12, 2024 23:54
@nyurik nyurik force-pushed the optimize-static-dict branch 2 times, most recently from 5e3f957 to e115cab Compare May 21, 2024 13:20
@nyurik nyurik force-pushed the optimize-static-dict branch from e115cab to aa0a2f8 Compare May 27, 2024 11:29
* Convert `IsMatch(dict, ...)` into a member method. The original `IsMatch` is marked as deprecated - and we probably can delete it, but it will require a major release due to being a breaking change. So for now, lets keep it, but remove it when releasing a new breaking version
* Same for `BrotliFindAllStaticDictionaryMatches` and a few more methods
  (they were not moved though to allow for easier review)
* lots of internal simplifications - like using direct comparisons, using bools, etc
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