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

Issue 6946059: code review 6946059: encoding/json: cleanup leftover redundant variables. (Closed)

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

Description

encoding/json: cleanup leftover redundant variables. Those variables come from ancient times when reflect.Value was an interface.

Patch Set 1 #

Patch Set 2 : diff -r 7e135713451d https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 7e135713451d https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r d68fadb4593f https://code.google.com/p/go #

Patch Set 5 : diff -r d68fadb4593f https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -22 lines) Patch
M src/pkg/encoding/json/decode.go View 1 8 chunks +14 lines, -22 lines 0 comments Download

Messages

Total messages: 7
remyoudompheng
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 4 months ago (2012-12-15 09:39:59 UTC) #1
dave_cheney.net
Looks like there is a small reduction in stack usage linux/amd64 before: 0214 (/home/dfc/go/src/pkg/encoding/json/decode.go:117) TEXT ...
11 years, 4 months ago (2012-12-15 09:50:39 UTC) #2
remyoudompheng
On 2012/12/15 09:50:39, dfc wrote: > Looks like there is a small reduction in stack ...
11 years, 4 months ago (2012-12-15 16:49:10 UTC) #3
dave_cheney.net
> There may be a little improvement but it's hard to detect. A small speedup ...
11 years, 4 months ago (2012-12-16 05:02:37 UTC) #4
dave_cheney.net
oops, those numbers were low due to issue 4557. Here are the correct numbers loco(~/go/src/pkg/encoding/json) ...
11 years, 4 months ago (2012-12-16 06:32:09 UTC) #5
rsc
LGTM
11 years, 4 months ago (2012-12-17 00:35:41 UTC) #6
remyoudompheng
11 years, 4 months ago (2012-12-17 01:35:15 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=5083a8d8cc89 ***

encoding/json: cleanup leftover redundant variables.

Those variables come from ancient times when reflect.Value was
an interface.

R=dave, rsc
CC=golang-dev
https://codereview.appspot.com/6946059
Sign in to reply to this message.

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