Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6575791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:25:52+00:00 2026-05-25T15:25:52+00:00

Just wondering, because for every string in every view / controller / everything, it

  • 0

Just wondering, because for every string in every view / controller / everything, it has to do an extra look up to replace the placeholder. Grated, each of these replacements is balls fast… but.. has anyone noticed significant performance issues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:25:52+00:00Added an answer on May 25, 2026 at 3:25 pm

    When rails loads, it will load up your locale file into memory meaning the cost of time is close to the amount of time it takes to do an in memory lookup. From my experiences this hasn’t slowed down an application to a perceivable level. Here is a benchmark or sorts:

    Benchmark.realtime { 10000.times { I18n.t(:hello) } } # => 0.834578037261963

    Benchmark.realtime { 10000.times { String.new("hello") } } # => 0.00372004508972168

    Granted the second benchmark isn’t doing a lot, 10000 requests to I18n still results in under a second of time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just wondering why almost every controller method I see in sample MVC code returns
Just wondering, because of a problem I am running into, is it possible to
Just wondering what the difference between BeginInvoke() and Invoke() are? Mainly what each one
Just wondering if anyone has any favourite SQL references they to use when creating
just wondering if anyone knows of a truly restful Put/delete implementation asp.net mvc preview
Just wondering if a .NET app can be compiled down to native machine code
Just wondering if there is an easy way to add the functionality to duplicate
Just wondering why people like case sensitivity in a programming language? I'm not trying
Just wondering where is best to put functionality in an MFC application that is
Just wondering what little scripts/programs people here have written that helps one with his

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.