• Russ Cox's avatar
    6g/6l: add go type information to symbol table. · 311c0b48
    Russ Cox authored
      archive size +70%
      binary size +30%
    
    old
    
    wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt}
    -rwxr-xr-x  1 rsc  eng  1487922 Aug 13 13:21 /Users/rsc/bin/godoc
    -rwxr-xr-x  1 rsc  eng   995995 Aug 13 13:21 /Users/rsc/bin/gofmt
    wreck.mtv=; du -sh $GOROOT/pkg/
    9.5M	/home/rsc/go/pkg/
    wreck.mtv=;
    
    new
    
    wreck.mtv=; ls -l /Users/rsc/bin/{godoc,gofmt}
    -rwxr-xr-x  1 rsc  eng  2014390 Aug 13 14:25 /Users/rsc/bin/godoc
    -rwxr-xr-x  1 rsc  eng  1268705 Aug 13 14:25 /Users/rsc/bin/gofmt
    wreck.mtv=; du -sh $GOROOT/pkg
     16M	/home/rsc/go/pkg
    wreck.mtv=;
    
    R=ken
    OCL=33217
    CL=33220
    311c0b48
dcl.c 20.3 KB