The amd64 assembly looks fine to me so far https://codereview.appspot.com/8853048/diff/2001/src/pkg/bytes/bytes_decl.go File src/pkg/bytes/bytes_decl.go (right): https://codereview.appspot.com/8853048/diff/2001/src/pkg/bytes/bytes_decl.go#newcode17 src/pkg/bytes/bytes_decl.go:17: ...
11 years, 11 months ago
(2013-04-28 14:00:56 UTC)
#4
LGTM On Tue, May 14, 2013 at 11:38 AM, <khr@golang.org> wrote: > Reviewers: bradfitz, julienschmidt, ...
11 years, 10 months ago
(2013-05-14 19:06:26 UTC)
#7
LGTM
On Tue, May 14, 2013 at 11:38 AM, <khr@golang.org> wrote:
> Reviewers: bradfitz, julienschmidt,
>
> Message:
> Cleaned up and ready to check in. Care for a final look?
>
> On 2013/04/28 14:00:56, julienschmidt wrote:
>
>> The amd64 assembly looks fine to me so far
>>
>
>
> https://codereview.appspot.**com/8853048/diff/2001/src/pkg/**
>
bytes/bytes_decl.go<https://codereview.appspot.com/8853048/diff/2001/src/pkg/bytes/bytes_decl.go>
>
>> File src/pkg/bytes/bytes_decl.go (right):
>>
>
>
> https://codereview.appspot.**com/8853048/diff/2001/src/pkg/**
>
bytes/bytes_decl.go#newcode17<https://codereview.appspot.com/8853048/diff/2001/src/pkg/bytes/bytes_decl.go#newcode17>
>
>> src/pkg/bytes/bytes_decl.go:**17:
>> What about the //go:noescape directive?
>>
>
>
>
> Description:
> runtime/bytes: fast Compare for byte arrays and strings.
>
> Uses SSE instructions to process 16 bytes at a time.
>
> fixes issue 5354
>
> Please review this at
https://codereview.appspot.**com/8853048/<https://codereview.appspot.com/8853...
>
> Affected files:
> M src/pkg/bytes/bytes.go
> M src/pkg/bytes/bytes_decl.go
> M src/pkg/bytes/bytes_test.go
> A src/pkg/bytes/compare_test.go
> M src/pkg/runtime/asm_386.s
> M src/pkg/runtime/asm_amd64.s
> A src/pkg/runtime/noasm_arm.goc
> M src/pkg/runtime/string.goc
>
>
>
Hello bradfitz@golang.org, google@julienschmidt.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://khr%40golang.org@code.google.com/p/go/
11 years, 10 months ago
(2013-05-14 23:05:49 UTC)
#8
Issue 8853048: code review 8853048: runtime/bytes: fast Compare for byte arrays and strings.
(Closed)
Created 11 years, 11 months ago by khr
Modified 11 years, 10 months ago
Reviewers:
Base URL:
Comments: 1