Closed akoptelov closed 2 years ago
Currently run-time memory consumption is over 1.5 times bigger then bin_prot encoded size. This is because of enum variants with different sizes (see variant-size-differences).
The first step is this fix.
Then we need to generate variants properly, boxing the ones that allocate more memory then others.
See also name-placeholder/bin-prot-rs#2.
Currently run-time memory consumption is over 1.5 times bigger then bin_prot encoded size. This is because of enum variants with different sizes (see variant-size-differences).
The first step is this fix.
Then we need to generate variants properly, boxing the ones that allocate more memory then others.