SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 35 C++

Optimize encoding long varints on arm64

I couldn't get the compiler to emit the jump table I wanted so it's written as inline asm. This benchmarked as 1% faster in the overall encode benchmarks than doing the same size calculation and a normal loop.

PiperOrigin-RevId: 767814597
P
Protobuf Team Bot committed
b039dfe2656dfdd358f5c9dc09b3fe447006eb63
Parent: 50e90bb
Committed by Copybara-Service <copybara-worker@google.com> on 6/5/2025, 11:41:51 PM