zio-json icon indicating copy to clipboard operation
zio-json copied to clipboard

Eliminate use of Reader / Writer

Open jdegoes opened this issue 5 years ago • 3 comments

Most likely we can improve performance by eliminating read / writer and going directly with inputstream / outputstream or classes baked on these.

jdegoes avatar Sep 22 '20 13:09 jdegoes

Hi, I'll take this one!

fakirAyoub avatar Sep 25 '20 18:09 fakirAyoub

@fakirAyoub Awesome. Let me know if you need a hand!

If you look into the implementation of java's Reader / Writer, you can see extraneous copying of bytes, which we can probably eliminate or reduce in our own versions. Of course, the benchmarks will tell the truth here, we should rely on them to see if we can actually improve performance or not.

jdegoes avatar Sep 25 '20 21:09 jdegoes

@fakirAyoub How did this go, were you able to make some progress?

fsvehla avatar Nov 09 '20 22:11 fsvehla