• Robert Griesemer's avatar
    godoc: remove uses of container/vector · 72ddc876
    Robert Griesemer authored
    In the process, rewrite index.go to use slices instead
    of vectors, rewrite for-loops into range loops, and
    generally simplify code (this code was written before
    the launch of go and showed its age).
    
    Also, fix a wrong import in appinit.go.
    
    No significant performance changes (improvements);
    most of time is spent elsewhere (measured on an stand-
    alone MacBook Pro with SSD disk, running standard
    godoc settings: godoc -v -http=:7777 -index).
    
    R=golang-dev, dsymonds
    CC=golang-dev
    https://golang.org/cl/4875056
    72ddc876
appinit.go 2.61 KB