f311d1102c
- Since both trunks emit altle tags now, reworked the trunk merging to reuse more code. - Changed lfsr_mdir_fetch to rely on trunk=0 to detect the no-commit state. This is purely for consistency. This actually broke some tests that committed nothing, resulting in trunk-less rbyds, which is a bit concerning, but I don't think trunk-less rbyds will ever be valid in our system? - Simplified lfsr_rbyd_estimate calculation, merged lfsr_rbyd_bisect since this is almost always needed after an estimated failure, and that way dependent function have to call fewer things to implement rbyd splitting. - Dropped vestigial names for now, though need to revisit this later. After these changes the code size difference between rebalancing and appending is a bit smaller at ~392 bytes: 16208 -> 16600 (+2.4%). It's interesting to note this is mostly because the conservative overhead calculation is easier with rebalancing. In theory this also saves some stack usage, but since I'm measuring maximum stack usage it doesn't show up since it's not on the deepest path.