Skip to main content

Navneet Kumar's Library tagged JavaScript   View Popular

18 Nov 09

Closures - Secrets of the JavaScript Ninja

  • It's not uncommon to find closures permeating JavaScript libraries, and other
    advanced code bases, due to their ability to drastically simplify complex
    operations.
  • there is a direct cost to storing and referencing your information in this
    manner. It's important to remember that each function that accesses information
    via a closure immediately has at "ball and chain," if you will, attached to them
    carrying this information
  • 13 more annotations...
17 Nov 09

JScript Blog : Scope chain of JScript Functions

  • Scope chain refers to the chain of objects whose
    properties are looked for when a variable is looked for its existence and its
    value. Functions in JScript have their scope chain saved when they are
    defined

High Performance Ajax Applications

  • Less is more
    – Don’t do anything unnecessary.
    – Don’t do anything until it becomes absolutely necessary.
  • Work on improving perceived performance
    – Users can deal with some reasonable amount of slowness if:
    • They are informed appropriately that an operation is pending.
    • The user interface remains reactive at all time.
    – Cheat whenever you can by first updating the UI and then do the work.
  • 17 more annotations...

Julien Lecomte's Blog » Running CPU Intensive JavaScript Computations in a Web Browser

  • The biggest deterrent for running CPU intensive computations in a web browser is
    the fact that the entire browser user interface is frozen while a JavaScript
    thread is running
  • under no circumstance should a script ever take more than 300 msec (at most) to
    complete. Breaking this rule inevitably leads to bad user experience.
30 Jul 09

IEBlog : IE8 Performance

  • With IE8 we have significantly augmented the garbage collector so that it can
    break many circular references over the lifetime of a site, reducing the burden
    on developers
  • key improvements we made with IE8 were to unblock downloads in the presence of
    external scripts and to increase the number of parallel connections per server
    that we support
  • 13 more annotations...
1 - 20 of 156 Next › Last »
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo