Closed primo-ppcg closed 1 year ago
Here's what I got:
$ JANET_PATH=~/src/spork/jpm_tree/lib ~/src/janet.primo-ppcg/build/janet ~/scratch/buffer-from-bytes.janet
Elapsed time: 1.000s, 0.2079µs/body
Elapsed time: 1.001s, 0.2947µs/body
Elapsed time: 1.000s, 0.3522µs/body
Filling a lexical gap, to avoid things like this:
or even this:
Adding this function has increased the size of the executable by 32 bytes on my system: master:
branch:
Of course, it's also faster than either alternative: