1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport
Jeremy Kemper b474d06d5e Perf: save ~9% of object allocations on heavy requests.
The per-thread registry is keyed on the class name, and each request for
the class name returns a new string. This is in the hot path for a lot
of Active Record behavior, so we easily accumulate thousands of repeated
strings.

To fix, we simply cache the key when the class is first extended with
the module.

TODO: Eliminate this module. The per-thread instance concept is common,
but this technique confuses and obfuscates.
2013-12-12 18:53:32 -07:00
..
bin Initializing Codepoint object with default values 2013-09-20 12:50:15 +05:30
lib Perf: save ~9% of object allocations on heavy requests. 2013-12-12 18:53:32 -07:00
test Merge pull request #13229 from vipulnsward/fix-10635-tests 2013-12-12 08:52:40 -08:00
activesupport.gemspec Upgrade minitest version 2013-12-08 07:35:19 -08:00
CHANGELOG.md Changelog improvements [ci skip] 2013-12-12 08:33:46 -02:00
MIT-LICENSE
Rakefile grab executable from rubygems 2013-07-26 11:07:25 +02:00
README.rdoc

= Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.


== Download and installation

The latest version of Active Support can be installed with RubyGems:

  % [sudo] gem install activesupport

Source code can be downloaded as part of the Rails project on GitHub:

* https://github.com/rails/rails/tree/master/activesupport


== License

Active Support is released under the MIT license:

* http://www.opensource.org/licenses/MIT


== Support

API documentation is at:

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues