remove optimizations which only made sense in old Rubiesmaster
commit97dcfc24fd224ee636ce9437032ff9d8899dfa98
authorEric Wong <e@80x24.org>
Thu, 17 Mar 2016 23:44:38 +0000 (17 23:44 +0000)
committerEric Wong <e@80x24.org>
Thu, 17 Mar 2016 23:44:38 +0000 (17 23:44 +0000)
tree1b4a932910147cfb6a374300c46f1b917bc6e923
parent589fc87b2c5ac825037df317c5f4e4245a1461a9
remove optimizations which only made sense in old Rubies

Constants waste memory and inline cache lookups are not free,
either.  Rely on frozen string literals in Ruby 2.3+, but continue
optimizing for opt_str_freeze in Ruby 2.1+ when literal strings are
explicitly frozen.
lib/unxf.rb