Re: Why is querySelector much slower?

On 4/28/15 2:44 AM, Glen Huang wrote:
> But If I do getElementsByClass()[0], and LiveNodeList is immediately
> garbage collectable

Then it will only be collected the next time GC happens.  Which might 
not be for a while.

-Boris

Received on Tuesday, 28 April 2015 15:00:12 UTC