Commits
Click on a commit to change the comparison rangeperf(sourcemap): shorten main loop encoding VLQ (#4586)
Reduce number of operations in main loop in source map VLQ encoding.
#4583 made pushing a byte to output only 2 instructions, so that makes it workable to repeat `push_byte_unchecked` inside and outside the loop.
On a local benchmark of just VLQ encoding shows this increases performance by 16% (on top of the 11% from #4583).
Probably main gain is it makes a fast path for encoding `0`, which is common.1 year ago
by overlookmotel