Re: Making selectors first-class citizens

On 9/11/13 9:52 AM, Rick Waldron wrote:
> A prime use case: a cache of selector objects that are useful when
> matching event.target for event handler delegation patterns.

Note that UAs already do some internal caching of parsed selector 
objects used with querySelector.  Of course an explicit cache in the 
script would likely be a tiny bit faster.

-Boris

Received on Wednesday, 11 September 2013 15:22:39 UTC