This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
heartcombo--simple_form
mirror of
https://github.com/heartcombo/simple_form.git
Watch
1
Star
0
Fork
You've already forked heartcombo--simple_form
0
Code
Releases
Activity
b1b447cfcc
heartcombo--simple_form
/
lib
/
simple_form
/
version.rb
5 lines
79 B
Ruby
Raw
Normal View
History
Unescape
Escape
Add frozen_string_literal in all .rb files I noticed these files all had strings such as "", " ", "_" that were allocated each time some common methods were called, over 1000x on a page in my app. This comment freezes all of these strings such that they're only allocated once, saving many KB of memory allocation.
2017-10-24 01:01:08 +00:00
# frozen_string_literal: true
Ready for prime time.
2010-02-06 18:25:46 +00:00
module
SimpleForm
Release 3.5.0.
2017-05-17 20:23:08 +00:00
VERSION
=
"
3.5.0
"
.
freeze
Ready for prime time.
2010-02-06 18:25:46 +00:00
end