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

Issue 6206077: code review 6206077: cmd/gc: improve compilation speed by exporting constant... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by atom
Modified:
11 years, 11 months ago
Reviewers:
CC:
golang-dev, r, rsc, iant2, remyoudompheng, dave_cheney.net
Visibility:
Public.

Description

cmd/gc: improve compilation speed by exporting constants in hexadecimal

Patch Set 1 #

Patch Set 2 : diff -r 847b8d48b873 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 847b8d48b873 https://go.googlecode.com/hg/ #

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

Patch Set 5 : diff -r 85e153815747 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 85e153815747 https://go.googlecode.com/hg/ #

Total comments: 5

Patch Set 7 : diff -r da5b554f6ea6 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+142 lines, -34 lines) Patch
M src/cmd/gc/fmt.c View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/gc/lex.c View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/cmd/gc/mparith1.c View 1 2 3 4 5 6 8 chunks +137 lines, -33 lines 0 comments Download
M src/pkg/exp/types/gcimporter.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 26
atom
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 11 months ago (2012-05-16 14:56:50 UTC) #1
atom
I would like to know whether this approach (files used as cache) is acceptable in ...
11 years, 11 months ago (2012-05-16 14:59:01 UTC) #2
r
Why do you want this? Caches are sources of mysterious bugs that don't happen when ...
11 years, 11 months ago (2012-05-16 15:00:56 UTC) #3
rsc
I do believe there are opportunities for removing unnecessary floating point work, but it's hard ...
11 years, 11 months ago (2012-05-16 15:07:27 UTC) #4
0xe2.0x9a.0x9b_gmail.com
On Wednesday, May 16, 2012 5:00:56 PM UTC+2, r wrote: > > Why do you ...
11 years, 11 months ago (2012-05-16 15:11:28 UTC) #5
0xe2.0x9a.0x9b_gmail.com
On Wednesday, May 16, 2012 5:07:05 PM UTC+2, rsc wrote: > > I do believe ...
11 years, 11 months ago (2012-05-16 15:25:26 UTC) #6
rsc
On Wed, May 16, 2012 at 11:25 AM, ⚛ <0xe2.0x9a.0x9b@gmail.com> wrote: > On Wednesday, May ...
11 years, 11 months ago (2012-05-16 15:53:03 UTC) #7
0xe2.0x9a.0x9b_gmail.com
On Wednesday, May 16, 2012 5:52:38 PM UTC+2, rsc wrote: > > >> What code ...
11 years, 11 months ago (2012-05-17 07:04:11 UTC) #8
atom
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 11 months ago (2012-05-18 11:32:29 UTC) #9
0xe2.0x9a.0x9b_gmail.com
On Wednesday, May 16, 2012 5:00:56 PM UTC+2, r wrote: > > Caches are sources ...
11 years, 11 months ago (2012-05-18 12:19:38 UTC) #10
iant2
⚛ <0xe2.0x9a.0x9b@gmail.com> writes: > Consider the following: The Go compiler reads in .go and .a ...
11 years, 11 months ago (2012-05-18 13:24:32 UTC) #11
rsc
Thanks. Do you have timings for how much it helps? I'm just curious. The changes ...
11 years, 11 months ago (2012-05-18 15:47:33 UTC) #12
atom
On 2012/05/18 15:47:33, rsc wrote: > Thanks. Do you have timings for how much it ...
11 years, 11 months ago (2012-05-18 17:45:44 UTC) #13
rsc
On Fri, May 18, 2012 at 1:45 PM, <0xE2.0x9A.0x9B@gmail.com> wrote: > This would lead to ...
11 years, 11 months ago (2012-05-18 17:50:22 UTC) #14
0xe2.0x9a.0x9b_gmail.com
On Friday, May 18, 2012 3:24:23 PM UTC+2, Ian Lance Taylor wrote: > > ⚛ ...
11 years, 11 months ago (2012-05-18 18:09:44 UTC) #15
iant2
⚛ <0xe2.0x9a.0x9b@gmail.com> writes: > On Friday, May 18, 2012 3:24:23 PM UTC+2, Ian Lance Taylor ...
11 years, 11 months ago (2012-05-18 20:04:16 UTC) #16
rsc
More generally, any change that introduces a new code path means you have to worry ...
11 years, 11 months ago (2012-05-18 20:13:43 UTC) #17
atom
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org, iant@google.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 11 months ago (2012-05-19 09:06:20 UTC) #18
atom
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org, iant@google.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 11 months ago (2012-05-19 18:32:27 UTC) #19
remyoudompheng
http://codereview.appspot.com/6206077/diff/16002/src/cmd/gc/mparith1.c File src/cmd/gc/mparith1.c (right): http://codereview.appspot.com/6206077/diff/16002/src/cmd/gc/mparith1.c#newcode274 src/cmd/gc/mparith1.c:274: // required syntax is [+-]d*[.]d*[e[+-]d*] or [+-]0xH*[e[+-]d*] is this ...
11 years, 11 months ago (2012-05-19 18:48:11 UTC) #20
atom
http://codereview.appspot.com/6206077/diff/16002/src/cmd/gc/mparith1.c File src/cmd/gc/mparith1.c (right): http://codereview.appspot.com/6206077/diff/16002/src/cmd/gc/mparith1.c#newcode274 src/cmd/gc/mparith1.c:274: // required syntax is [+-]d*[.]d*[e[+-]d*] or [+-]0xH*[e[+-]d*] On 2012/05/19 ...
11 years, 11 months ago (2012-05-20 05:42:25 UTC) #21
dave_cheney.net
While I can't claim to understand what you have done here, the results on 5g ...
11 years, 11 months ago (2012-05-20 05:59:57 UTC) #22
rsc
Thanks. The code looks good except for some C style nits. I apologize for them, ...
11 years, 11 months ago (2012-05-21 17:16:46 UTC) #23
atom
Hello golang-dev@googlegroups.com, r@golang.org, rsc@golang.org, iant@google.com, remyoudompheng@gmail.com, dave@cheney.net (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 11 months ago (2012-05-22 07:54:10 UTC) #24
rsc
LGTM
11 years, 11 months ago (2012-05-22 15:57:35 UTC) #25
rsc
11 years, 11 months ago (2012-05-22 17:53:40 UTC) #26
*** Submitted as http://code.google.com/p/go/source/detail?r=8f4c9f27ea77 ***

cmd/gc: export constants in hexadecimal

R=golang-dev, r, rsc, iant, remyoudompheng, dave
CC=golang-dev
http://codereview.appspot.com/6206077

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