diff options
author | Stan Lo <a22301613@yahoo.com.tw> | 2016-03-08 18:24:20 +0800 |
---|---|---|
committer | Stan Lo <a22301613@yahoo.com.tw> | 2016-03-08 22:53:23 +0800 |
commit | f785413ce3d56f51f813cfd92c515c803ffde4d6 (patch) | |
tree | 5fa5038a9a802900b9e35f41d0e4e9e622f2414c /activemodel/bin | |
parent | a61bf5f5b63780a3e0b4c2d4339967df82b370de (diff) | |
download | rails-f785413ce3d56f51f813cfd92c515c803ffde4d6.tar.gz rails-f785413ce3d56f51f813cfd92c515c803ffde4d6.tar.bz2 rails-f785413ce3d56f51f813cfd92c515c803ffde4d6.zip |
- Freeze strings in frequent used private method
reduce string allocation.
- Use freezed empty string instead of create one every time we need to return it
Diffstat (limited to 'activemodel/bin')
0 files changed, 0 insertions, 0 deletions