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

Issue 1021041: code review 1021041: pidigits: ~10% performance win by using adds instead of... (Closed)

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

Description

pidigits: ~10% performance win by using adds instead of shifts user time for pidigits -s -n=10000: 6.466s w/ adds 7.138s w/ shifts

Patch Set 1 #

Patch Set 2 : code review 1021041: pidigits: ~10% performance win by using adds instead of... #

Patch Set 3 : code review 1021041: pidigits: ~10% performance win by using adds instead of... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M test/bench/pidigits.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
gri
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years ago (2010-04-27 21:00:41 UTC) #1
rsc
LGTM TODO belongs in package big On Tue, Apr 27, 2010 at 14:00, <gri@golang.org> wrote: ...
14 years ago (2010-04-27 21:02:44 UTC) #2
gri
14 years ago (2010-04-27 21:06:56 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=4623445fd946 ***

pidigits: ~10% performance win by using adds instead of shifts

user time for pidigits -s -n=10000:
6.466s w/ adds
7.138s w/ shifts

R=rsc
CC=golang-dev
http://codereview.appspot.com/1021041
Sign in to reply to this message.

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