Closed primo-ppcg closed 1 year ago
master (ecc4d80a):
$ janet reverse.janet
a 1.000s, 0.5987µs/body
b 1.000s, 4.195µs/body
c 1.000s, 37.62µs/body
branch (c8c0e112):
$ JANET_PATH=$HOME/.local/lib/janet ~/src/janet.primo-ppcg/build/janet reverse.janet
a 1.000s, 0.4237µs/body
b 1.000s, 2.636µs/body
c 1.000s, 24.57µs/body
Also tested against some repositories with no issues :+1:
Similar to the changes in #1241. The result is approximately twice as fast on any size argument.
master:
branch:
I try not to have more than one open PR at a time, but I thought I might slip these in before the release.