a code-golfed JSperf clone