Hi!
I’m trying to eliminate memory allocations when using my websocket handler, but read_frame currently allocates a new Vec for (almost) every incoming frame.
Would it be possible to provide an API variant that lets users supply a buffer to read into, avoiding these allocations? Or do you know of any workaround for this issue?
Hi!
I’m trying to eliminate memory allocations when using my websocket handler, but read_frame currently allocates a new Vec for (almost) every incoming frame.
Would it be possible to provide an API variant that lets users supply a buffer to read into, avoiding these allocations? Or do you know of any workaround for this issue?