> And I think the adjustments should not be done after the fact in > finish_record_layout, but rather right in place_field, where also > the fields alignment and mode are properly tracked.
It would be a lot harder to keep track of which bits are allocated and which aren't if we do it in place_field. The current algorithm always allocates bits in monotonic sequence.