News for hackers. Stuff that matters.
Re:JavaScript Performance MythBusters (via jsPerf) by jdd on Saturday March 17, 2012 @06:34PM (#3718428)
The test isn't broken in the scope of its use case. You are totally missing the point which is RegExp's are no longer a guaranteed fail when it comes to performance and that in many situations, including that jsPerf test, can out perform the indexOf equivalent.
Re:JavaScript Performance MythBusters (via jsPerf) by WayneDB on Saturday March 17, 2012 @09:10PM (#3718756)
I think that a lot of people would just like to see a direct comparison, that's all.