mirror of https://github.com/grpc/grpc.git
[PHP] A trivial performace improvement for the PHP extension. (#31722)
Perf shows that the memory are accessed twice for call->wrapped in startBatch. If we assign call->wrapped to a variable and then use it in startBatch, only one memory access is needed. Then, the second attempting to get the value of call->wrapped will be done via register. <!-- If you know who should review your pull request, please assign it to that person, otherwise the pull request would get assigned randomly. If your pull request is for a specific language, please add the appropriate lang label. -->pull/32764/head
parent
36d2716d52
commit
450196ae3f
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue