[Security] optimized ExpressionVoter
minor #9563 [Security] optimized ExpressionVoter (fabpot)

This PR was merged into the master branch.

Discussion
----------

[Security] optimized ExpressionVoter

Commits
-------

a8c74d1 [Security] optimized ExpressionVoter