Jefffrey opened a new pull request, #7082:
URL: https://github.com/apache/arrow-rs/pull/7082

   During the course of #7013 I  realized how confusing the internals of 
`NullBufferBuilder` are, how some private fields are applicable only when the 
builder is in a certain state; this isn't enforced in the code, rather via 
comments (and knowledge of the struct).
   
   Experimenting with refactoring it to use an internal state machine to 
explicitly delineate the different states it can have and therefore enforce at 
compile time the rules which were previously implicit before.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to