This project is archived and is in readonly mode.

#410 open

Inflector.constantize uses eval which is slow in JRuby and Ruby 1.9

Reported by enebo | June 13th, 2008 @ 06:25 PM | in 3.0.6

constantize in lib/active_support/inflector.rb uses eval which is slow in both JRuby and Ruby 1.9. This patch passes all tests and also significantly speeds up constantize on these ruby impl (without hurting perf of Ruby 1.8).

Comments and changes to this ticket

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=""></a>