summaryrefslogtreecommitdiffhomepage
path: root/pkg/urpc
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-02-08 12:59:04 -0800
committerShentubot <shentubot@google.com>2019-02-08 13:00:00 -0800
commit9c9386d2a8c041f3c1f19469b47414c419f7d534 (patch)
tree2cb0db5fcf8facb2b70da11812c67341cd3a39a3 /pkg/urpc
parent5079b38a9af1d66ad720005d7487dd711a0cb713 (diff)
CopyObjectOut should allocate a byte slice the size of the encoded object.
This adds an extra Reflection call to CopyObjectOut, but avoids many small slice allocations if the object is large, since without this we grow the backing slice incrementally as we encode more data. PiperOrigin-RevId: 233110960 Change-Id: I93569af55912391e5471277f779139c23f040147
Diffstat (limited to 'pkg/urpc')
0 files changed, 0 insertions, 0 deletions