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

Issue 4160058: code review 4160058: json: use base64 to encode []byte (Closed)

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

Description

json: use base64 to encode []byte

Patch Set 1 #

Patch Set 2 : diff -r 5a8a83c00638 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 5a8a83c00638 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 5a8a83c00638 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 8e157f1abc87 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 8e157f1abc87 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 8e157f1abc87 https://go.googlecode.com/hg/ #

Total comments: 6

Patch Set 8 : diff -r 8e157f1abc87 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r 8e157f1abc87 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -15 lines) Patch
M src/pkg/json/decode.go View 1 2 3 4 5 6 7 8 5 chunks +51 lines, -7 lines 0 comments Download
M src/pkg/json/decode_test.go View 1 2 3 4 3 chunks +21 lines, -6 lines 0 comments Download
M src/pkg/json/encode.go View 1 2 3 4 5 6 7 4 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 8
rog
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 2 months ago (2011-02-17 17:35:45 UTC) #1
rsc
Looks pretty good. If we're doing this to make []byte handling more efficient, let's clean ...
14 years, 2 months ago (2011-02-17 17:58:08 UTC) #2
rog
On 2011/02/17 17:58:08, rsc wrote: > Looks pretty good. If we're doing this to make ...
14 years, 2 months ago (2011-02-18 11:24:22 UTC) #3
rsc
Very nearly there. http://codereview.appspot.com/4160058/diff/5005/src/pkg/json/decode.go File src/pkg/json/decode.go (right): http://codereview.appspot.com/4160058/diff/5005/src/pkg/json/decode.go#newcode11 src/pkg/json/decode.go:11: "encoding/base64" sort http://codereview.appspot.com/4160058/diff/5005/src/pkg/json/decode.go#newcode805 src/pkg/json/decode.go:805: for i, ...
14 years, 2 months ago (2011-02-22 20:57:17 UTC) #4
rog
PTAL http://codereview.appspot.com/4160058/diff/5005/src/pkg/json/decode.go File src/pkg/json/decode.go (right): http://codereview.appspot.com/4160058/diff/5005/src/pkg/json/decode.go#newcode11 src/pkg/json/decode.go:11: "encoding/base64" On 2011/02/22 20:57:17, rsc wrote: > sort ...
14 years, 2 months ago (2011-02-23 08:50:37 UTC) #5
rsc
> ok. i'd wanted to keep the loop as a range, which is quite a ...
14 years, 2 months ago (2011-02-23 15:51:38 UTC) #6
rsc
LGTM
14 years, 2 months ago (2011-02-23 15:55:51 UTC) #7
rsc
14 years, 2 months ago (2011-02-23 16:32:36 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=e54ec28b7fee ***

json: use base64 to encode []byte

R=rsc
CC=golang-dev
http://codereview.appspot.com/4160058

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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