fasthttp icon indicating copy to clipboard operation
fasthttp copied to clipboard

byte to string unsafe conversion in fasthttpadaptor ConvertRequest method

Open mstrYoda opened this issue 3 years ago • 0 comments

I changed the code to prevent string allocation by using unsafe conversion.

I wrote a benchmark test against changes.

Before:

image

After unsafe conversion:

image

mstrYoda avatar Sep 13 '22 22:09 mstrYoda