Fix for a selector speed regression (calling a simple selector many times resulted in a significant speed down). This has been fixed by breaking the RegExps out into the global scope. This required that a closure be implemented around the full jQuery script (which is now the case). Some simple changes were made in addition to the RegExp one, allowing for some greater flexibility on our part - and hopefully better compression.
Speed results: http://dev.jquery.com/~john/ticket/1351/ vs. http://dev.jquery.com/~john/ticket/1351/113.html vs. http://dev.jquery.com/~john/ticket/1351/112.html
This commit is contained in:
parent
8c15e852a4
commit
b6d920cf05
5 changed files with 39 additions and 38 deletions
|
@ -1 +1 @@
|
|||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue