aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/logger_silence.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2015-09-02 10:39:29 -0600
committerSean Griffin <sean@thoughtbot.com>2015-09-02 10:40:27 -0600
commit3dd7cecfe30c425052d6414301ea1c8295c58c26 (patch)
tree7177d5d8825fa897694070d5f1030bca849b052f /activesupport/lib/active_support/logger_silence.rb
parentaa3acf85cbb6bbb54c345f4cce6ab9d48d882022 (diff)
downloadrails-3dd7cecfe30c425052d6414301ea1c8295c58c26.tar.gz
rails-3dd7cecfe30c425052d6414301ea1c8295c58c26.tar.bz2
rails-3dd7cecfe30c425052d6414301ea1c8295c58c26.zip
Don't allocate a bunch of strings in `Relation::Merger`
Since the strings are dynamically computed from a constant, the actual strings we're creating are a known set. We can compute them ahead of time, and reduce the number of allocations in that method.
Diffstat (limited to 'activesupport/lib/active_support/logger_silence.rb')
0 files changed, 0 insertions, 0 deletions