原创 [翻譯]High Performance JavaScript(012)
第四章 Algorithms and Flow Control 算法和流程控制 The overall structure of your code is one of the main determinants as t
原创 [翻譯]High Performance JavaScript(013)
Conditionals 條件表達式 Similar in nature to loops, conditionals determine how execution flows through JavaScript. Th
原创 [翻譯]High Performance JavaScript(005)
第二章 Data Access 數據訪問 One of the classic computer science problems is determining where data should be stored for
原创 [翻譯]High Performance JavaScript(011)
Repaints and Reflows 重繪和重排版 Once the browser has downloaded all the components of a page—HTML markup, JavaScript
原创 [翻譯]High Performance JavaScript(009)
第三章 DOM Scripting DOM編程 DOM scripting is expensive, and it's a common performance bottleneck in rich web applic
原创 [翻譯]High Performance JavaScript(003)
Dynamic Script Elements 動態腳本元素 The Document Object Model (DOM) allows you to dynamically create almost any part
原创 [翻譯]High Performance JavaScript(007)
Dynamic Scopes 動態作用域 Both the with statement and the catch clause of a try-catch statement, as well as a functio
原创 [翻譯]High Performance JavaScript(004)
XMLHttpRequest Script Injection XHR腳本注入 Another approach to nonblocking scripts is to retrieve the JavaScript co
原创 [翻譯]High Performance JavaScript(008)
Nested Members 嵌套成員 Since object members may contain other members, it's not uncommon to see patterns such as wi
原创 [翻譯]High Performance JavaScript(002)
Grouping Scripts 成組腳本 Since each <script> tag blocks the page from rendering during initial download, it's helpful
原创 [翻譯]High Performance JavaScript(010)
Cloning Nodes 節點克隆 Another way of updating page contents using DOM methods is to clone existing DOM elements ins
原创 [翻譯]High Performance JavaScript(006)
Identifier Resolution Performance 標識符識別性能 Identifier resolution isn't free, as in fact no computer operation rea
原创 [翻譯]High Performance JavaScript(001)
第一章 Loading and Execution 加載和運行 JavaScript performance in the browser is arguably the most important usability
原创 [翻譯]High Performance JavaScript(022)
第七章 Ajax 異步JavaScript和XML Ajax is a cornerstone of high-performance JavaScript. It can be used to make a page l
原创 [翻譯]High Performance JavaScript(031)
Firebug Firefox is a popular browser with developers, partially due to the Firebug addon (available at http://www