This project is archived and is in readonly mode.
Callbacks static analysis optimizations
-
Yehuda Katz (wycats)
- Milestone cleared.
-
Scott Taylor
- Tag set to optimisation, patch
Here's a patch which does some static analysis and other cleanup to the callbacks. The code is also more OO-ish, and cleaner, IMHO.
I've attached a series of 9 patches as tarball (generated with git-format-patch) - some include benchmarks, some include misc. cleanup. I've left it as a tarball so that you can pick and choose what you like.
Let me know if you'd prefer one big unified diff.
-
Yehuda Katz (wycats)
I actually did a ton of work related to this ticket, completely rewriting the callback system and making it between 10-20x faster. I also added around filters, skipping, and a per-key optimization for ActionPack callbacks. You can see the work I'm doing at http://github.com/wycats/rails/t... and some posts detailing the work I'm doing at http://yehudakatz.com/.
> -
Pratik
- State changed from new to stale
