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

Issue 8363045: code review 8363045: reflect: use unsafe.Pointer in StringHeader and SliceHeader (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by atom
Modified:
12 years, 6 months ago
CC:
r, golang-dev
Visibility:
Public.

Description

reflect: use unsafe.Pointer in StringHeader and SliceHeader Relates to issue 5193.

Patch Set 1 #

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

Patch Set 3 : diff -r 845066f7e0df https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M src/pkg/reflect/value.go View 1 7 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 15
r
LGTM
12 years, 6 months ago (2013-04-07 21:03:54 UTC) #1
atom
Hello r@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 6 months ago (2013-04-07 21:33:36 UTC) #2
atom
*** Submitted as https://code.google.com/p/go/source/detail?r=a3ce42f9748b *** reflect: use unsafe.Pointer in StringHeader and SliceHeader Relates to issue ...
12 years, 6 months ago (2013-04-07 21:33:50 UTC) #3
dsymonds
Uh, waiting for a review of this probably would have been good. You have changed ...
12 years, 6 months ago (2013-04-07 21:36:01 UTC) #4
dsymonds
Oh, I see https://codereview.appspot.com/8363045/ shows Rob's review. Still, my point stands. This is an exported ...
12 years, 6 months ago (2013-04-07 21:42:24 UTC) #5
remyoudompheng
On 2013/4/7 David Symonds <dsymonds@golang.org> wrote: > Uh, waiting for a review of this probably ...
12 years, 6 months ago (2013-04-07 21:42:41 UTC) #6
dvyukov
On 2013/04/07 21:36:01, dsymonds wrote: > Uh, waiting for a review of this probably would ...
12 years, 6 months ago (2013-04-07 21:48:11 UTC) #7
dsymonds
On Mon, Apr 8, 2013 at 7:48 AM, <dvyukov@google.com> wrote: > Also since it's *internal* ...
12 years, 6 months ago (2013-04-07 21:56:38 UTC) #8
mxk
On Sun, Apr 7, 2013 at 5:48 PM, <dvyukov@google.com> wrote: > On 2013/04/07 21:36:01, dsymonds ...
12 years, 6 months ago (2013-04-07 22:09:11 UTC) #9
kortschak
This is used a fair bit in cgo-dependent code. I think we are all wary ...
12 years, 6 months ago (2013-04-07 22:14:01 UTC) #10
dvyukov
On Sun, Apr 7, 2013 at 3:08 PM, Maxim Khitrov <max@mxcrypt.com> wrote: > On Sun, ...
12 years, 6 months ago (2013-04-07 22:16:33 UTC) #11
atom
Overall, I am worried that using uintptr instead of unsafe.Pointer may cause GC bugs. I ...
12 years, 6 months ago (2013-04-07 22:28:11 UTC) #12
remyoudompheng
On 2013/4/8 <0xE2.0x9A.0x9B@gmail.com> wrote: > Overall, I am worried that using uintptr instead of unsafe.Pointer ...
12 years, 6 months ago (2013-04-07 22:35:30 UTC) #13
dvyukov
Actually we've already been here: https://codereview.appspot.com/5266050/ https://codereview.appspot.com/5278048/ and decided to not make uintptr treated as ...
12 years, 6 months ago (2013-04-07 22:43:24 UTC) #14
r
12 years, 6 months ago (2013-04-08 01:08:58 UTC) #15
It was an error for me to LGTM this.

-rob
Sign in to reply to this message.

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