This project is archived and is in readonly mode.
Refactored and reduced method calls on Engine.find
Reported by Diego Carrion | March 5th, 2011 @ 05:06 AM
Hi, Engine.path is expanding the same path passed as an argument every time it compares it with the engines paths. I changed the code to expand it only once and then use the value in the comparisons.
Comments and changes to this ticket
-
Repository March 9th, 2011 @ 02:29 AM
- State changed from new to committed
(from [c7cfdd01c114e103508c435d5e6cfee0703e2e1d]) refactored Engine.#find by giving an explicit name to a variable and reducing calls
[#6529 state:committed]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
https://github.com/rails/rails/commit/c7cfdd01c114e103508c435d5e6cf...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 6529 Refactored and reduced method calls on Engine.find [#6529 state:committed]