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

Issue 167044: code review 167044: pick off special one-byte case in copy. worth 2x in ben... (Closed)

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

Description

pick off special one-byte case in copy. worth 2x in benchmarks (38ns->16ns). the one-item case could be generalized easily with no cost. worth considering.

Patch Set 1 #

Patch Set 2 : code review 167044: pick off special one-byte case in copy. worth 2x in ben... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M src/pkg/runtime/slice.c View 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 4
r
Hello rsc (cc: golang-dev@googlegroups.com, cw@f00f.org), I'd like you to review the following change.
15 years, 7 months ago (2009-12-07 18:51:57 UTC) #1
rsc
LGTM
15 years, 7 months ago (2009-12-07 19:25:02 UTC) #2
r
*** Submitted as http://code.google.com/p/go/source/detail?r=8029cfdafa54 *** pick off special one-byte case in copy. worth 2x in ...
15 years, 7 months ago (2009-12-07 19:28:04 UTC) #3
cw
15 years, 7 months ago (2009-12-07 19:29:15 UTC) #4
LGTM; the performance gap in my testing with this has narrowed.
Sign in to reply to this message.

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