This project is archived and is in readonly mode.

Changeset [83ecd03e7d3472c16decbf1b9939da53347b36a3] by Stevie Graham

September 20th, 2010 @ 06:44 PM

use instance_eval, reduce method calls.

execution time in seconds for rake test_sqlite3:

ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
- before: 52.771426, 52.159505, 52.937056 - after: 51.452584, 51.897017, 51.584431

rubinius 1.0.1 (1.8.7 release 2010-06-03 JI) [x86_64-apple-darwin10.4.0]
- before: 284.334076 - after: 285.753028

ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
- before: 75.811548, 75.533153, 75.353122 - after: 75.244243, 75.19226, 75.256925 http://github.com/rails/rails/commit/83ecd03e7d3472c16decbf1b9939da...

Committed by Stevie Graham

  • M activerecord/lib/active_record/base.rb

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>