Optimize HideActionHook and improve related typing.

Review Request #14664 — Created Oct. 31, 2025 and updated — Latest diff uploaded

Information

Review Board
release-7.1.x

Reviewers

HideActionHook now stores the IDs as a set instead of a list, which is
faster for lookup in the case where multiple IDs are provided.

This and ActionHook have also been updated to take and store immutable
types, which makes it easier to take in values coming from another
source that may be immutable.

Unit tests pass.

Commits

Files