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 534359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:36:14+00:00 2026-05-13T09:36:14+00:00

The company I work at bought us (or rather me) the jQuery Cookbook by

  • 0

The company I work at bought us (or rather me) the jQuery Cookbook by O’Reilly which I am reading from front to back. Now I am at 5.13 which talks about Name Lookups. It claims that given the right circumstances, code which is optimized regarding Name Lookups can have an up to 70% performance boost. In one very situational example, it claims to be even 35x faster and cutting execution time from 7 seconds to a mere 0.2 seconds!

My Question is: By which factor does a Name Lookup Optimization enhance performance in a real live situation an is it worth the extra few hours on a 4k JS-lines AJAX Application?

  • 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-13T09:36:15+00:00Added an answer on May 13, 2026 at 9:36 am

    The factor which it helps depends on how it is used really. Its like asking how long is a piece of string.

    I have seen setting names for true,false, undefined can make an application at least 10x faster in the javascript. The reason why it become faster is that it doesn’t need to look inside the global scope chain. Nick Zakas explains it quite well in the video below from google code

    http://googlecode.blogspot.com/2009/06/nicholas-c-zakas-speed-up-your.html

    EDIT:

    I just came across this and thought it may be useful. its a quick explanation of the scoping chain too. http://www.phpied.com/extreme-javascript-optimization/

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

Sidebar

Related Questions

Company I work for will be receiving scanned images of forms from which we
the company I work for has a web-based user interface which paying clients log
The company I work for is about three and a half years old but
The company I work for is switching its front end to a gwt application
The company i work for has recently bought BizTalk 2010. The seller has us
In a big company I work for, a very (costfull) ESB has been bought,
The company I work for develops a large application which is almost entirely based
I currently work for a company that bought Sitecore & used a partner, my
I'm using one .EXE program written on C# (bought it from one company). Sometimes
Back Story I work at a small-mid size company and we are reworking our

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.