Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(144)

Issue 4271062: code review 4271062: gob: remove another allocation. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 11 months ago by r
Modified:
13 years, 11 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

gob: remove another allocation. The top level bytes.Buffer is always there and can be re-used. Rpc goes from 83 to 79 mallocs per round trip.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M src/pkg/gob/encoder.go View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 4
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 11 months ago (2011-03-24 01:37:33 UTC) #1
rsc
LGTM
13 years, 11 months ago (2011-03-24 03:44:55 UTC) #2
r
*** Submitted as http://code.google.com/p/go/source/detail?r=44e733716d02 *** gob: remove another allocation. The top level bytes.Buffer is always ...
13 years, 11 months ago (2011-03-24 04:49:27 UTC) #3
r
13 years, 11 months ago (2011-03-24 04:49:42 UTC) #4
thanks.

can't believe i missed that one.

-rob
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b