- 20 Nov, 2009 5 commits
-
-
Rob Pike authored
1) if char class contains a single character, make it a single character. (this is used to quote, e.g. [.] rather than \. 2) if regexp begins with ordinary text substring, use plain string match to start engine R=rsc CC=golang-dev https://golang.org/cl/157095
-
Robert Griesemer authored
R=rsc https://golang.org/cl/157096
-
Robert Griesemer authored
R=r, rsc https://golang.org/cl/157082
-
Trevor Strohman authored
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 https://golang.org/cl/154173
-
Russ Cox authored
of keeping a checked-in copy. doesn't slow down make.bash appreciably. R=r https://golang.org/cl/156099
-
- 19 Nov, 2009 14 commits
-
-
Ken Thompson authored
R=rsc https://golang.org/cl/156100
-
Rob Pike authored
thanks to lionkov for the fix. Fixes #262. R=rsc CC=golang-dev https://golang.org/cl/156097
-
Russ Cox authored
Fixes #265. R=r CC=golang-dev https://golang.org/cl/157084
-
Robert Griesemer authored
R=r, rsc https://golang.org/cl/157085
-
Rob Pike authored
- actually test the results R=rsc, ken2 CC=golang-dev https://golang.org/cl/156094
-
Rob Pike authored
R=rsc https://golang.org/cl/156093
-
Adam Langley authored
I missed a case. R=rsc, agl CC=golang-dev https://golang.org/cl/156092
-
Rob Pike authored
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 https://golang.org/cl/156091
-
Robert Griesemer authored
Built-in function copy. Addresses issue 203. R=rsc, r, iant https://golang.org/cl/156089
-
Russ Cox authored
R=r https://golang.org/cl/157077
-
Devon H. O'Dell authored
R=rsc CC=golang-dev https://golang.org/cl/157074
-
Adam Langley authored
TBR=rsc R=rsc https://golang.org/cl/157075
-
Adam Langley authored
R=rsc CC=golang-dev https://golang.org/cl/157056
-
Adam Langley authored
R=rsc CC=golang-dev https://golang.org/cl/156054
-
- 18 Nov, 2009 21 commits
-
-
Russ Cox authored
R=r https://golang.org/cl/156085
-
Rob Pike authored
R=rsc, ken2 CC=golang-dev https://golang.org/cl/156084
-
Rob Pike authored
replace all calls with calls to copy use copy in regexp and bytes.Buffer R=rsc CC=golang-dev https://golang.org/cl/157073
-
Rob Pike authored
- has arguments (no stack split) - MOVL does not set condition R=ken2, rsc https://golang.org/cl/156086
-
Russ Cox authored
when used as arg to copy. R=ken2 https://golang.org/cl/157071
-
Russ Cox authored
necessary on freebsd. R=r, dho CC=golang-dev https://golang.org/cl/157069
-
Rob Pike authored
R=rsc CC=ken2, golang-dev https://golang.org/cl/156083
-
Adam Langley authored
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 #143. R=rsc CC=golang-dev https://golang.org/cl/152130
-
Ian Lance Taylor authored
R=r https://golang.org/cl/156080
-
Eden Li authored
Mangle C struct fields that happen to be named after Go keywords by 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 #36. R=rsc https://golang.org/cl/157061
-
Russ Cox authored
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 https://golang.org/cl/157062
-
William Josephson authored
R=rsc https://golang.org/cl/156077
-
William Josephson authored
R=rsc https://golang.org/cl/157065
-
William Josephson authored
R=rsc https://golang.org/cl/156075
-
Devon H. O'Dell authored
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 https://golang.org/cl/156073
-
Russ Cox authored
R=dho CC=golang-dev https://golang.org/cl/156067
-
Devon H. O'Dell authored
This patchset gets Go to pretty much the same state that FreeBSD/amd64 is in. R=rsc https://golang.org/cl/157055
-
Eden Li authored
unsafe.Pointer. Fixes #254. R=rsc https://golang.org/cl/157060
-
-
Evan Shaw authored
R=rsc https://golang.org/cl/155075
-
Evan Shaw authored
R=rsc https://golang.org/cl/154169
-