Closed cometkim closed 3 years ago
@urlpack/msgpack implementation has poor decoding performance compared to other libraries.
This is because we use slice() to copy the new array to windowing the buffer for every step, which is very inefficient.
Ideally, the decoding process can be completed in a single iteration without copy using a state machine.
@urlpack/msgpack implementation has poor decoding performance compared to other libraries.
This is because we use slice() to copy the new array to windowing the buffer for every step, which is very inefficient.
Ideally, the decoding process can be completed in a single iteration without copy using a state machine.