Extract slow path function for schemaFor
schemaFor is a very hot method, called for every message we process. We only fall through to creating the schema the first time for each class, thereafter, the hot path is just getting from the ConcurrentHashMap. Avoid R8 inlining the slow (less common) path of schemaFor. The inlining blows up the stack frame size and slows down the hot path. PiperOrigin-RevId: 874384247
M
Mark Hansen committed
6f67f26c408a5330b3e8a934d79ea995436d2c8d
Parent: adf9e8b
Committed by Copybara-Service <copybara-worker@google.com>
on 2/24/2026, 6:37:59 AM