ModSecurity icon indicating copy to clipboard operation
ModSecurity copied to clipboard

Performance tweaks

Open edding3000 opened this issue 1 month ago • 3 comments

what

Range based for loops with references are already used in this project, but in a few places not. I am not sure why. I changed this code locations and executed unit tests. Also use '*' for pointers when using auto keyword, makes it more readable.

why

Improve performance a little bit.

questions

"const auto&" could also be used in many places. Is there a reason why it is not used?

edding3000 avatar Nov 20 '25 14:11 edding3000