Bug Tracker

Opened 10 years ago

Closed 10 years ago

#4236 closed bug (fixed)

Make sure $("#foo p") is as fast as $("#foo").find("p")

Reported by: john Owned by: john
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description

Right now the latter is faster due to the context setting - the selector engine should be smart enough to set a proper context.

Change History (1)

comment:1 Changed 10 years ago by john

Resolution: fixed
Status: newclosed

This should be resolved now (or, at least, as close to being resolved as we can get) in SVN rev [6254].

I'm going to move on and optimize .find() now in attempt to squeeze some more performance out in bug #4240.

Note: See TracTickets for help on using tickets.