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

Issue 5448120: code review 5448120: strconv: squeezed a bit more out of int/uint formatting (Closed)

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

Description

strconv: squeezed a bit more out of int/uint formatting - less code - slightly better performance (0-4%)

Patch Set 1 #

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -23 lines) Patch
M src/pkg/strconv/itoa.go View 1 2 3 6 chunks +18 lines, -23 lines 0 comments Download

Messages

Total messages: 6
gri
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 8 months ago (2011-12-06 19:56:27 UTC) #1
r
LGTM
13 years, 8 months ago (2011-12-06 21:41:15 UTC) #2
rsc
http://codereview.appspot.com/5448120/diff/3001/src/pkg/strconv/itoa.go File src/pkg/strconv/itoa.go (left): http://codereview.appspot.com/5448120/diff/3001/src/pkg/strconv/itoa.go#oldcode92 src/pkg/strconv/itoa.go:92: a[i] = digits[uintptr(u)&m] Please restore this conversion. And also ...
13 years, 8 months ago (2011-12-06 21:44:41 UTC) #3
gri
*** Submitted as http://code.google.com/p/go/source/detail?r=2374662b70be *** strconv: squeezed a bit more out of int/uint formatting - ...
13 years, 8 months ago (2011-12-06 21:54:25 UTC) #4
gri
On Tue, Dec 6, 2011 at 1:44 PM, <rsc@golang.org> wrote: > http://codereview.appspot.com/5448120/diff/3001/src/pkg/strconv/itoa.go#oldcode92 > src/pkg/strconv/itoa.go:92: a[i] ...
13 years, 8 months ago (2011-12-06 21:55:09 UTC) #5
rsc
13 years, 8 months ago (2011-12-06 22:04:33 UTC) #6
LGTM

very nice
Sign in to reply to this message.

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