Using some of the ideas presented by rformato, I've significantly sped up $("#id...
authorJohn Resig <jeresig@gmail.com>
Tue, 21 Aug 2007 08:25:11 +0000 (08:25 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 21 Aug 2007 08:25:11 +0000 (08:25 +0000)
commitb99fd476d07e737274c132a8e938cda73cf26377
tree3d3f858e38b0c9b6cb911423c190595de743e680
parent46e770352a9d68fe72a2cf59fc2d18fe61669730
Using some of the ideas presented by rformato, I've significantly sped up $("#id") selection. It's now just 10% slower than doing: $(document.getElementById("test")), which seems quite acceptable. (Bug #1316)
src/jquery/jquery.js