Optimize Arena Ctor/Dtor for lazy field
LazyField explicitly registers `ArenaDtor` for destructing the lazy Cord contents which is particularly heavily used in extension sets. This is inefficient as it requires an indirect thunk call into the lazy field instance which then itself calls the Cord destructor. We can directly register the Cord for destruction which results in half the cleanup space (Tagged cleanup), and a direct call into the Cord destructor. PiperOrigin-RevId: 491379222
M
Martijn Vels committed
d5f759f7a4be5f7bc25d0bd638d4d1ad22970a2a
Parent: f3873dd
Committed by Copybara-Service <copybara-worker@google.com>
on 11/28/2022, 6:23:12 PM