multi_buffer: Speed up `Anchor::to_offset` resolution (#48021)
We used to just use the anchor resolution function that allows resolving
multiple anchors in one loop before. That has a lot of overhead though
when we only have a single anchor to resolve, so instead we just
specialize that case now as resolving a single anchor to an offset is a
super common operation.
Release Notes:
- N/A *or* Added/Fixed/Improved ...
9b3777a14eLukas Wirth committed on 1/30/2026, 3:01:18 PM· committed by GitHubparent316a970