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

Issue 6116048: bytes: remove allocation from benchmarks

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by dave
Modified:
14 years, 1 month ago
Reviewers:
r
Visibility:
Public.

Description

bytes: remove allocation from benchmarks

Patch Set 1 #

Patch Set 2 : diff -r b15b7aaca931 https://code.google.com/p/go #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -19 lines) Patch
M src/pkg/bytes/bytes_test.go View 1 7 chunks +6 lines, -19 lines 1 comment Download

Messages

Total messages: 1
r
14 years, 1 month ago (2012-04-25 03:51:33 UTC) #1
http://codereview.appspot.com/6116048/diff/2001/src/pkg/bytes/bytes_test.go
File src/pkg/bytes/bytes_test.go (right):

http://codereview.appspot.com/6116048/diff/2001/src/pkg/bytes/bytes_test.go#n...
src/pkg/bytes/bytes_test.go:278: var bmbuf [64 << 21]byte
allocate this only if you're benchmarking
Sign in to reply to this message.

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