1
0
mirror of https://github.com/golang/go synced 2024-10-05 07:11:22 -06:00
go/src/cmd/yacc
Tamir Duberstein adf4c38b6e cmd/yacc: memory allocation improvements
Places a fixed size initial stack and the lval inside the parser
struct so that they are allocated together. Places $$char inside the
parser struct to avoid allocating the closure used in Lookahead().

Change-Id: I0de664a6d612279fdc3255633e2dff904030bc36
Reviewed-on: https://go-review.googlesource.com/16705
Reviewed-by: Russ Cox <rsc@golang.org>
2015-11-26 17:42:14 +00:00
..
testdata/expr all: fix misprints in comments 2015-06-11 14:18:57 +00:00
doc.go cmd/yacc: fix path in documentation 2015-03-17 04:53:21 +00:00
yacc.go cmd/yacc: memory allocation improvements 2015-11-26 17:42:14 +00:00