mirror of https://github.com/golang/go.git
By keeping a tail pointer, we can append to a patchList in constant
time, rather than in time proportional to the length of the list. This
gets rid of the quadratic compile times we were seeing for long series
of alternations.
This is basically the same change as
|
||
|---|---|---|
| .. | ||
| compile.go | ||
| doc.go | ||
| make_perl_groups.pl | ||
| op_string.go | ||
| parse.go | ||
| parse_test.go | ||
| perl_groups.go | ||
| prog.go | ||
| prog_test.go | ||
| regexp.go | ||
| simplify.go | ||
| simplify_test.go | ||