1
0
mirror of https://github.com/golang/go synced 2024-11-26 05:27:57 -07:00
go/src/pkg
Rob Pike a6e1ad2733 two easy optimizations for regexp:
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
2009-11-19 16:45:50 -08:00
..
archive/tar remove bytes.Copy 2009-11-18 15:24:24 -08:00
asn1 asn1: add support for RawContent 2009-11-18 16:32:44 -08:00
big big: fix large division. 2009-11-18 19:26:12 -08:00
bignum Remove unnecessary execute bits. 2009-11-18 09:19:29 -08:00
bufio replace custom findByte with bytes.IndexByte 2009-11-18 19:58:32 -08:00
bytes add bytes.IndexByte; common case we can make fast later. 2009-11-18 19:23:08 -08:00
compress remove bytes.Copy 2009-11-18 15:24:24 -08:00
container Remove unnecessary execute bits. 2009-11-18 09:19:29 -08:00
crypto crypto/x509: RawContents -> RawContent 2009-11-18 16:38:30 -08:00
debug FreeBSD/i386 work 2009-11-17 23:58:51 -08:00
ebnf - replaced gofmt expression formatting algorithm with 2009-11-09 21:13:17 -08:00
encoding remove bytes.Copy 2009-11-18 15:24:24 -08:00
exec - replaced gofmt expression formatting algorithm with 2009-11-09 21:13:17 -08:00
exp Permit omission of hi bound in slices. 2009-11-19 16:42:05 -08:00
expvar remove semis after statements in one-statement statement lists 2009-11-09 12:07:39 -08:00
flag Explain why 2009-11-13 13:15:18 -08:00
fmt add a test for %+v in nested structures. 2009-11-17 22:14:34 -08:00
go Permit omission of hi bound in slices. 2009-11-19 16:42:05 -08:00
gob Rework gobs to fix bad bug related to sharing of id's between encoder and decoder side. 2009-11-16 23:32:30 -08:00
hash use fully qualified names for hash interfaces 2009-11-11 12:00:15 -08:00
http http: do not crash accessing r.Form if ParseForm fails 2009-11-17 14:45:10 -08:00
image Remove unnecessary int(h) casts in image.go. 2009-11-13 17:40:20 -08:00
io - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
json json: minor comment fix. 2009-11-13 14:59:04 -08:00
log log test: don't assume a fixed set of letters for $GOROOT 2009-11-11 13:07:46 -08:00
malloc add top-level package comments for net, reflect, malloc. 2009-11-08 15:57:25 -08:00
math math: fix argument names in Atan2 2009-11-17 08:39:56 -08:00
net net: remove race condition on Close. 2009-11-18 13:18:34 -08:00
once remove semis after statements in one-statement statement lists 2009-11-09 12:07:39 -08:00
os os.ReadAt doesn't return EOF at EOF. 2009-11-19 11:51:23 -08:00
patch Fix capitalisation of "Git". 2009-11-11 17:31:28 -08:00
path path.TestWalk: disable error case if root 2009-11-13 11:34:33 -08:00
rand - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
reflect reflect: document that PkgPath and Name return 2009-11-17 16:03:14 -08:00
regexp two easy optimizations for regexp: 2009-11-19 16:45:50 -08:00
rpc Make non-errored RPC calls return 'nil' error to caller. 2009-11-17 11:29:02 -08:00
runtime runtime: mask signals during signal handler on OS X 2009-11-19 11:01:16 -08:00
sort - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
strconv remove bytes.Copy 2009-11-18 15:24:24 -08:00
strings add bytes.IndexByte; common case we can make fast later. 2009-11-18 19:23:08 -08:00
sync - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
syscall FreeBSD/i386 work 2009-11-17 23:58:51 -08:00
tabwriter minor adjustments to package comments for better synopsis. 2009-11-10 10:55:53 -08:00
template - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
testing Adds benchmark support to gotest. 2009-11-19 16:35:34 -08:00
time FreeBSD-specific porting work. 2009-11-17 08:20:58 -08:00
unicode - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
unsafe unsafe: documentation typo. 2009-11-16 15:39:04 -08:00
utf8 - replaced gofmt expression formatting algorithm with 2009-11-09 21:23:52 -08:00
xml remove bytes.Copy 2009-11-18 15:24:24 -08:00
deps.bash Build changes to support work on the BSDs. 2009-11-14 15:29:09 -08:00
Makefile Build changes to support work on the BSDs. 2009-11-14 15:29:09 -08:00