aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2019-04-05 14:45:05 +0200
committerJean Boussier <jean.boussier@gmail.com>2019-04-09 13:54:49 +0200
commit6f26e99cef4b6f20be8ef5cf7fee4b4755baaaec (patch)
tree823a7fd9cb13247da40b1387cc7dc7f4dd8496fd /activerecord/lib/rails
parentac786cd1f2c39ea4c9eefeb23ceaab8fe3b242ec (diff)
downloadrails-6f26e99cef4b6f20be8ef5cf7fee4b4755baaaec.tar.gz
rails-6f26e99cef4b6f20be8ef5cf7fee4b4755baaaec.tar.bz2
rails-6f26e99cef4b6f20be8ef5cf7fee4b4755baaaec.zip
Improve == and hash methods on various schema cache structs to be allocation free.
The previous implementation would allocate 2 arrays per comparisons. I tried relying on Struct, but they do allocate one Hash inside `Struct#hash`.
Diffstat (limited to 'activerecord/lib/rails')
0 files changed, 0 insertions, 0 deletions