diff options
author | Russ Cox <rsc@golang.org> | 2014-05-28 14:08:44 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-05-28 14:08:44 -0400 |
commit | f3e50d7c720fa261f185ac6151e4324c47c1a2cb (patch) | |
tree | 3a9bdd5b2fad28e80cb3fa688fbd47b66d3af8c4 /api | |
parent | c143d4d535f7e83ef75d5c4218502982540744f3 (diff) | |
download | go-f3e50d7c720fa261f185ac6151e4324c47c1a2cb.tar.gz |
regexp: hide one-pass code from exported API
Update issue 8112
Hide one-pass regexp API.
This means moving the code from regexp/syntax to regexp,
but it avoids being locked into the specific API chosen for
the implementation.
It also removes a slice field from the syntax.Inst, which
should avoid bloating the memory footprint of a non-one-pass
regexp unnecessarily.
LGTM=r
R=golang-codereviews, r
CC=golang-codereviews, iant
https://codereview.appspot.com/98610046
Diffstat (limited to 'api')
-rw-r--r-- | api/next.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/api/next.txt b/api/next.txt index eac2d203d..cdbac57f2 100644 --- a/api/next.txt +++ b/api/next.txt @@ -330,12 +330,7 @@ pkg net/http, type Server struct, ConnState func(net.Conn, ConnState) pkg net/http, type Server struct, ErrorLog *log.Logger pkg net/http, type Transport struct, TLSHandshakeTimeout time.Duration pkg regexp/syntax, method (*Inst) MatchRunePos(int32) int -pkg regexp/syntax, method (*Inst) OnePassNext(int32) uint32 -pkg regexp/syntax, method (*Prog) CompileOnePass() *Prog -pkg regexp/syntax, method (*Prog) OnePassPrefix() (string, bool, uint32) pkg regexp/syntax, method (InstOp) String() string -pkg regexp/syntax, type Inst struct, Next []uint32 -pkg regexp/syntax, var NotOnePass *Prog pkg runtime/debug, func SetPanicOnFault(bool) bool pkg runtime/debug, func WriteHeapDump(uintptr) pkg sync, method (*Pool) Get() interface{} |