Skip to main content

Bug Tracker

Side navigation

#4236 closed bug (fixed)

Opened February 24, 2009 09:01PM UTC

Closed February 25, 2009 04:09AM UTC

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.

Attachments (0)
Change History (1)

Changed February 25, 2009 04:09AM UTC by john comment:1

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.