3 comments

[ 1.1 ms ] story [ 9.3 ms ] thread
I could not verify 'Replacing switch statements' please reference http://jsperf.com/switch-vs-object76

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

You're right about the cloning issue, updated.
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?