Based on my completely unscientific analysis of the four methods here, it seems that there is not much speed difference between them. I ran each page containing a series of unordered lists of various lengths and confined to them using the Firebug profiler.
$("li").slice(1).addClass("something");
Average time: 5,322ms
$("li:gt(0)").addClass("something");
Average time: 5.590ms
$("li:not(:first-child)").addClass("something");
Average time: 6.084ms
$("ul li+li").addClass("something");
Average time: 7.831ms
twernt Oct 09 '08 at 12:26 2008-10-09 12:26
source share