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

Optimization: do not allocate nested eithers

Open jdegoes opened this issue 4 years ago • 0 comments

Given appropriate Equiv (see #18), it is not necessary to allocate nested eithers, but rather, one can go direct from the parse data to the target structure.

See here for work done to eliminate nested tuples, which is similar but slightly different to this optimization.

jdegoes avatar Apr 15 '20 18:04 jdegoes