Skip to content

Conversation

@adisuissa
Copy link
Contributor

Commit Message: ext_proc: refactor the allowed override modes
Additional Description:
Prior to this PR the allowed override modes were kept in a vector of enums, and the comparison had an O(n) time complexity.
This PR introduces a new data-structure that converts each ProcessingMode to a single number, and keeps that in a set. Should reduce both memory consumption and time complexity.

Risk Level: low - internal refactor
Testing: Added unit tests for the data-structure
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
@repokitteh-read-only
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #42404 was opened by adisuissa.

see: more, trace.

Signed-off-by: Adi Suissa-Peleg <adip@google.com>
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
@adisuissa adisuissa marked this pull request as ready for review December 4, 2025 15:56
@adisuissa
Copy link
Contributor Author

Assigning @tyxia as the original creator of this override (#36279)
/assign @tyxia

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