Age | Commit message (Collapse) | Author | Files | Lines |
|
No benchmarks are run unless the --benchmarks=<regexp> flag
is specified on the gotest command line. This change includes
sample benchmarks for regexp.
% gotest --benchmarks=.*
(standard test output redacted)
testing.BenchmarkSimpleMatch 200000 7799 ns/op
testing.BenchmarkUngroupedMatch 20000 76898 ns/op
testing.BenchmarkGroupedMatch 50000 38148 ns/op
R=r, rsc
http://codereview.appspot.com/154173
Committer: Russ Cox <rsc@golang.org>
|
|
of keeping a checked-in copy. doesn't
slow down make.bash appreciably.
R=r
http://codereview.appspot.com/156099
|
|
R=rsc
http://codereview.appspot.com/156100
|
|
thanks to lionkov for the fix.
Fixes issue 262.
R=rsc
CC=golang-dev
http://codereview.appspot.com/156097
|
|
Fixes issue 265.
R=r
CC=golang-dev
http://codereview.appspot.com/157084
|
|
R=r, rsc
http://codereview.appspot.com/157085
|
|
- actually test the results
R=rsc, ken2
CC=golang-dev
http://codereview.appspot.com/156094
|
|
R=rsc
http://codereview.appspot.com/156093
|
|
I missed a case.
R=rsc, agl
CC=golang-dev
http://codereview.appspot.com/156092
|
|
also pick off the special case in strings.Index. don't want strings.IndexByte
because the call site will very rarely need to allocate and we can handle the
test in the code itself. bytes.IndexByte can avoid a common allocation.
R=rsc
CC=golang-dev
http://codereview.appspot.com/156091
|
|
Built-in function copy.
Addresses issue 203.
R=rsc, r, iant
http://codereview.appspot.com/156089
|
|
R=r
http://codereview.appspot.com/157077
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/157074
Committer: Russ Cox <rsc@golang.org>
|
|
TBR=rsc
R=rsc
http://codereview.appspot.com/157075
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/157056
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/156054
|
|
R=r
http://codereview.appspot.com/156085
|
|
R=rsc, ken2
CC=golang-dev
http://codereview.appspot.com/156084
|
|
replace all calls with calls to copy
use copy in regexp and bytes.Buffer
R=rsc
CC=golang-dev
http://codereview.appspot.com/157073
|
|
- has arguments (no stack split)
- MOVL does not set condition
R=ken2, rsc
http://codereview.appspot.com/156086
|
|
when used as arg to copy.
R=ken2
http://codereview.appspot.com/157071
|
|
necessary on freebsd.
R=r, dho
CC=golang-dev
http://codereview.appspot.com/157069
|
|
element.
R=rsc
CC=ken2, golang-dev
http://codereview.appspot.com/156083
|
|
Previously a netFd could be queued for reading/writing in the channel,
but close(2)'ed before pollServer got to it. In this case, the kernel
would consider the descriptor closed and the attempt to add it to the
epoll set would fail and panic.
This patch makes Close a roundtrip to the pollServer, although the
actual close(2) still occurs elsewhere to avoid blocking the
pollServer.
Fixes issue 143.
R=rsc
CC=golang-dev
http://codereview.appspot.com/152130
Committer: Adam Langley <agl@golang.org>
|
|
R=r
http://codereview.appspot.com/156080
|
|
prefixing them with _. Collisions with existing fields are resolved by prefixing the new Go identifier with _ until it matches nothing else in the struct.
Fixes issue 36.
R=rsc
http://codereview.appspot.com/157061
Committer: Russ Cox <rsc@golang.org>
|
|
7x speedup on big and crypto/rsa unit tests.
also dropped useAsm in favor of making the
asm stubs jump to the Go versions.
R=agl1
CC=golang-dev, gri
http://codereview.appspot.com/157062
|
|
R=rsc
http://codereview.appspot.com/156077
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/157065
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/156075
Committer: Russ Cox <rsc@golang.org>
|
|
In thread.c, we need to cast to whatever the native
size of intptr is on the system, but we only have
uintptr available. They're the same size, but can't
do signed casts without this one :).
R=rsc
CC=golang-dev
http://codereview.appspot.com/156073
Committer: Russ Cox <rsc@golang.org>
|
|
R=dho
CC=golang-dev
http://codereview.appspot.com/156067
|
|
This patchset gets Go to pretty much the same state that
FreeBSD/amd64 is in.
R=rsc
http://codereview.appspot.com/157055
Committer: Russ Cox <rsc@golang.org>
|
|
unsafe.Pointer.
Fixes issue 254.
R=rsc
http://codereview.appspot.com/157060
Committer: Russ Cox <rsc@golang.org>
|
|
http://golang.org/doc/contribute.html#copyright
R=rsc
http://codereview.appspot.com/156066
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/155075
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
http://codereview.appspot.com/154169
Committer: Russ Cox <rsc@golang.org>
|
|
R=r
http://codereview.appspot.com/156062
|
|
Google is my employer so no AUTHORS change is needed.
R=rsc
http://codereview.appspot.com/154174
Committer: Russ Cox <rsc@golang.org>
|
|
R=ken2
http://codereview.appspot.com/156063
|
|
* move memmove to arch-specific subdirectories
* add memmove for arm
* add copyright notices marking them as copied from Inferno
R=ken2
http://codereview.appspot.com/156061
|
|
threw in an embedded one for good measure.
R=rsc
CC=golang-dev
http://codereview.appspot.com/157058
|
|
R=rsc
http://codereview.appspot.com/156060
|
|
R=r
http://codereview.appspot.com/156059
|
|
R=r
http://codereview.appspot.com/156058
|
|
R=rsc
http://codereview.appspot.com/156056
|
|
did not test 386, but should work
shouldnt matter if copy is not used
R=rsc
http://codereview.appspot.com/156055
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/156051
|
|
* add Marshal
* add BitString.RightAlign
* change to using a *time.Time (from time.Time) since that's what
the time package uses.
* return the unparsed data from Unmarshal.
R=rsc
CC=golang-dev
http://codereview.appspot.com/156047
|
|
R=r
http://codereview.appspot.com/157053
|