capnproto-rust icon indicating copy to clipboard operation
capnproto-rust copied to clipboard

Refactor builder arena

Open marmeladema opened this issue 2 years ago • 2 comments

Each commit should be self explainable. This makes the code simpler and should help the compiler optimize things a bit better.

marmeladema avatar Jan 11 '23 18:01 marmeladema

There is a small bug in the first commit because the vec of segments is leaked. It is not strictly unsound bit I'll fix it tomorrow anyway.

marmeladema avatar Jan 13 '23 22:01 marmeladema

@dwrensha this is ready for review :)

Unless capnp/src/private is officially part of the public API, it should not be a breaking change.

marmeladema avatar Jan 14 '23 13:01 marmeladema