• Robert Griesemer's avatar
    cmd/compile: faster parameter parsing with no OKEY nodes · bb3b1021
    Robert Griesemer authored
    Step 2 of stream-lining parameter parsing
    
    - do parameter validity checks in parser
    - two passes instead of multiple (and theoretically quadratic) passes
      when checking parameters
    - removes the need for OKEY and some ONONAME nodes in those passes
    
    This removes allocation of ~123K OKEY (incl. some ONONAME) nodes
    out of a total of ~10M allocated nodes when running make.bash, or
    a reduction of the number of alloacted nodes by ~1.2%.
    
    Change-Id: I4a8ec578d0ee2a7b99892ac6b92e56f8e0415f03
    Reviewed-on: https://go-review.googlesource.com/20748Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
    Run-TryBot: Robert Griesemer <gri@golang.org>
    bb3b1021
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...