News for hackers. Stuff that matters.
Re:JavaScript performance tricks by etanazir on Thursday January 02, 2014 @02:52PM (#7001800)
I could not verify 'Replacing switch statements' please reference http://jsperf.com/switch-vs-object76

and how is that 'fastDeepClone' a 'Deep' ??

Re:JavaScript performance tricks by alfl23 on Thursday January 02, 2014 @03:45PM (#7002150)
You're right about the cloning issue, updated.
Re:JavaScript performance tricks by etanazir on Friday January 03, 2014 @03:41PM (#7007968)
ok, now its a fast 1 level deep clone

can you patch up my jsperf or provide your own for the switch v. object assertion?