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

Issue 155063: code review 155063: An asked-for-in #go-nuts extension to quickly create a... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 7 months ago by dga
Modified:
15 years, 7 months ago
Reviewers:
rsc
Visibility:
Public.

Description

An asked-for-in #go-nuts extension to quickly create a repeated copy of a string or a byte array. strings.Repeat("-", 50) bytes.Repeat(b, 99)

Patch Set 1 : code review 155063: An asked-for-in #go-nuts extension to quickly create a... #

Patch Set 2 : code review 155063: An asked-for-in #go-nuts extension to quickly create a... #

Total comments: 1

Patch Set 3 : code review 155063: An asked-for-in #go-nuts extension to quickly create a... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -0 lines) Patch
M src/pkg/bytes/bytes.go View 1 chunk +13 lines, -0 lines 0 comments Download
M src/pkg/bytes/bytes_test.go View 1 chunk +27 lines, -0 lines 0 comments Download
M src/pkg/strings/strings.go View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M src/pkg/strings/strings_test.go View 1 chunk +25 lines, -0 lines 0 comments Download

Messages

Total messages: 6
dga
Hello rsc, I'd like you to review the following change.
15 years, 7 months ago (2009-11-16 02:42:54 UTC) #1
rsc
Thanks for taking the time to do this. One comment below on algorithm. Test looks ...
15 years, 7 months ago (2009-11-16 16:05:20 UTC) #2
dga
On 2009/11/16 16:05:20, rsc wrote: > Please drop similar code into the bytes package-- > ...
15 years, 7 months ago (2009-11-16 16:42:14 UTC) #3
dga
On 2009/11/16 16:05:20, rsc wrote: > Please drop similar code into the bytes package-- > ...
15 years, 7 months ago (2009-11-16 16:46:25 UTC) #4
rsc
LGTM thanks. i'll submit shortly and then hg sync will update your client
15 years, 7 months ago (2009-11-16 20:00:42 UTC) #5
rsc
15 years, 7 months ago (2009-11-16 20:40:02 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=56f4dc2af1fa ***

	An asked-for-in #go-nuts extension to quickly create a repeated
	copy of a string or a byte array.
        strings.Repeat("-", 50)
	bytes.Repeat(b, 99)

R=rsc
http://codereview.appspot.com/155063

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