1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/values
Tim Lucas 2147f35df2 Make sure require_tzinfo only calls Kernel#require if TZInfo isn't already present.
This wasn't a problem when require_tzinfo was only called from TimeZone#initialize, but now it's being called for every lookup to TimeZone.[] (via lazy_zones_map)

TimeZone lookup can occur when unmarshalling TimeWithZone objects, which is where I first saw the big slowdown (500ms for each Rails action that loaded from Rails.cache)
2011-09-07 14:21:18 +03:00
..
time_zone.rb Make sure require_tzinfo only calls Kernel#require if TZInfo isn't already present. 2011-09-07 14:21:18 +03:00
unicode_tables.dat Update Unicode database to 5.2.0. [#5011 state:resolved] 2010-06-30 13:22:35 +02:00