This project is archived and is in readonly mode.
Small performance improvement.
-
Santiago Pastorino
- State changed from new to wontfix
- Importance changed from to Low
Thiago, thanks for trying to improve Rails.
There's a lot of room for improvement but in this case why do you think this is an improvement?. You're changing two methods which modifies the helpers array instance (! methods) with two methods which returns new array instances so your patch make things work slower. -
Thiago Pradi
Hi Santiago,
Makes sense. I did a small benchmark and it seems to be faster. but when I changed to more iterations, it became slower. sorry for this Patch.
-
Santiago Pastorino
No problem, thanks for trying Thiago ;)
