lib/fast_gettext/cache.rb
# key performance gain:
# - no need to lookup locale on each translation
# - no need to lookup text_domain on each translation
# - super-simple hash lookup
key performance gain:
no need to lookup locale on each translation
no need to lookup text_domain on each translation
super-simple hash lookup
key performance gain : no need to lookup locale on each translation no need to lookup text_domain on each translation super - simple hash lookup
def switch_to(text_domain, locale)
      @store[text_domain] ||= {}
      @store[text_domain][locale] ||= {}
      @store[text_domain][locale][""] = false 
      @current = @store[text_domain][locale]
    end
def switch_to ( text_domain , locale ) @store [ text_domain ] ||= { } @store [ text_domain ] [ locale ] ||= { } @store [ text_domain ] [ locale ] [ "" ] = false @current = @store [ text_domain ] [ locale ] end
key performance gain:
 no need to lookup locale on each translation
 no need to lookup text_domain on each translation
 super-simple hash lookup
key performance gain : no need to lookup locale on each translation no need to lookup text_domain on each translation super - simple hash lookup
# ignore gettext meta key when translating
text_domain
<not_specific>
locale
<not_specific>