Forgot your password?
typodupeerror

Comment: hash table lookup optimization (Score 1) 97

by pifko (#36002506) Attached to: Inside Mozilla's New JavaScript JIT Compiler

I wonder how do javascript engines optimize hash table lookups. Especially since it is faster to access a member of an object than to access a variable of an outer function. It seems to me that the former requires a hash table lookup with a string key while the later suffices with a pointer into the closure of an outer function and the offset of the variable.

Firefox

+ - Firefox 5 Details: Sharing, Home Tab, PDF Viewer->

Submitted by Anonymous Coward
An anonymous reader writes "Firefox 4 may be still new, but Firefox 5 is already being prepared by Mozilla. At least the UI features have been laid out by the Mozilla team — there are nine new features in total. There are some features that are replicating Chrome functionality (tab multi-select or an integrated PDF viewer that will also extend to other file formats), but there are completely new features such as tab web apps, an identity manager a home tab that replaces the home button as well as a social sharing feature that is integrated in the URL bar and enables users to post directly to their Facebook and Twitter pages."
Link to Original Source

egrep patterns are full regular expressions; it uses a fast deterministic algorithm that sometimes needs exponential space. -- unix manuals

Working...