Use loop for acceptParams (4.x backport)
cherry-pick #6066 into 4.x
https://github.com/expressjs/express/pull/6066#issuecomment-2425069285
@UlisesGascon: Should we also backport it to v4?
Not worth a release on its own, but when it's as easy a cherry-pick and no other changes, hard not to backport.
I thought about updating the history file. But there's no API or dep change, and no one requested the change after 1 month of it sitting open
Sure, but it is "the process". We absolutely should change the process, but until we do it is easy to add and ensures folks doing the release dont forget anything.
pr for it incoming
edit: https://github.com/expressjs/express/pull/6177
Should we be merging this? I read the code but feel like this PR (even the original form) was lacking actual performance analysis. Did anyone benchmark this in our supported node versions and/or with real requests (not a microbenchmark)?