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

Issue 5123047: code review 5123047: bytes: add EqualFold (Closed)

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

Description

bytes: add EqualFold

Patch Set 1 #

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

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

Total comments: 2

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -1 line) Patch
M src/pkg/bytes/bytes.go View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
M src/pkg/bytes/bytes_test.go View 1 1 chunk +28 lines, -0 lines 0 comments Download
M src/pkg/strings/strings.go View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 9
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 6 months ago (2011-09-26 22:42:46 UTC) #1
r
LGTM http://codereview.appspot.com/5123047/diff/5001/src/pkg/bytes/bytes.go File src/pkg/bytes/bytes.go (right): http://codereview.appspot.com/5123047/diff/5001/src/pkg/bytes/bytes.go#newcode612 src/pkg/bytes/bytes.go:612: // EqualFold returns true if s and t ...
13 years, 6 months ago (2011-09-26 22:45:57 UTC) #2
rsc
I think it's important to say that they are runs of UTF-8-encoded code points, not ...
13 years, 6 months ago (2011-09-26 22:50:03 UTC) #3
r2
On Sep 26, 2011, at 3:49 PM, Russ Cox wrote: > I think it's important ...
13 years, 6 months ago (2011-09-26 22:51:04 UTC) #4
rsc
Hello golang-dev@googlegroups.com, r@golang.org, r@google.com (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 6 months ago (2011-09-26 22:53:38 UTC) #5
r
LGTM
13 years, 6 months ago (2011-09-26 22:55:46 UTC) #6
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=51de42dbe065 *** bytes: add EqualFold R=golang-dev, r, r CC=golang-dev http://codereview.appspot.com/5123047
13 years, 6 months ago (2011-09-26 23:35:35 UTC) #7
cw
(I know this has been submitted already) Looking over the commits I noticed this. It ...
13 years, 6 months ago (2011-09-27 16:24:11 UTC) #8
rsc
13 years, 6 months ago (2011-09-27 16:26:03 UTC) #9
On Tue, Sep 27, 2011 at 12:24,  <cw@f00f.org> wrote:
> It occurs to be the name EqualFold isn't very obvious as to what is
> going on.

if you know the term case-folding, then i think it is obvious.
if you don't, godoc strings EqualFold will make it clear.

what you suggest is very close to what we started with.
Sign in to reply to this message.

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