Preliminary measurement showed that the results were similar to the non-optimized version. PiperOrigin-RevId: 281255476