Live data from Hacker News

Faster than jQuery(document).ready() - Wait Until Exists

javascriptisawesome.blogspot.com

11–20 of 48 posts

Re: Faster than jQuery(document).ready() - Wait Until Exists

#11
Why are you comparing this to `jQuery(document).ready()`? Apples and oranges.

You say it’s faster, but fail to provide any numbers / a jsPerf test case. I’m sure it’s faster to execute `waituntilexists()` initially, but if you take into account it uses an 5ms interval in which it traverses the DOM for the same elements over and over again until they’re finally found, it seems it probably has a negative impact on performance overall.

What’s wrong with event delegation anyway?

Re: Faster than jQuery(document).ready() - Wait Until Exists

#17
post #13
post #4

You know how you can accelerate your page even further? Don't use 1.49mb large GIF animations as background images...

this is why we need vote counts to be displayed again.

I'm all for bringing back vote counts, I do sorely miss them... but I have to ask, in this particular case, how would mankind be served if we knew that 127 more people agree with cstuder? Maybe I'm missing something, this is an honest question.

Re: Faster than jQuery(document).ready() - Wait Until Exists

#19
post #13

Earlier quoted context omitted.

this is why we need vote counts to be displayed again.

I'm all for bringing back vote counts, I do sorely miss them... but I have to ask, in this particular case, how would mankind be served if we knew that 127 more people agree with cstuder? Maybe I'm missing something, this is an honest question.

If people saw [ 528 ] as the vote count for that comment, they'd be less likely to upvote it themselves.

Re: Faster than jQuery(document).ready() - Wait Until Exists

#20
post #13

Earlier quoted context omitted.

this is why we need vote counts to be displayed again.

I'm all for bringing back vote counts, I do sorely miss them... but I have to ask, in this particular case, how would mankind be served if we knew that 127 more people agree with cstuder? Maybe I'm missing something, this is an honest question.

the problem is that without a vote count, how do you know if 2 people voted for it (and thus really isn't a big deal), or 127 (and thus, the OP should really fix his stupid site). The only alternative are "me too" posts, which are hideous (and which is basically what my reply was).

In short, as-is, the OP really has no way of knowing just how aggravating his site is.

Post reply on HN