Closed bbarr closed 9 years ago
Hi folks, I know this would make the function name a bit misleading, but there is nothing distributed going on and the gains to be had are pretty significant.
jsperf demonstrating the obvious
Cheers!
Updated to keep UUID generator as well as a simpler ID generator for when it is safe.
I'll take it if you inline the optimization and remove generateUUID altogether
generateUUID
Hi folks, I know this would make the function name a bit misleading, but there is nothing distributed going on and the gains to be had are pretty significant.
jsperf demonstrating the obvious
Cheers!