]> Cypherpunks repositories - gostls13.git/commit
godoc index: first step towards reducing index size
authorRobert Griesemer <gri@golang.org>
Wed, 31 Aug 2011 01:47:15 +0000 (18:47 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 31 Aug 2011 01:47:15 +0000 (18:47 -0700)
commit40f0a0d759d5930bc8bd046fa61c7cc3fe48be5f
tree3eae1a925d06b267cd0d7f7b63969dc4e6b16d78
parent68a04dce931430ad4e50910eed09efbc0409158e
godoc index: first step towards reducing index size

- canonicalize package descriptors
- remove duplicate storage of file paths
- reduces (current) written index file by approx 3.5MB
(from 28434237B to 24686643B, or 13%)

- next step: untangle DAG (when serializing, using
gob, the index dag explodes into an index tree)

R=dsymonds
CC=golang-dev
https://golang.org/cl/4983042
src/cmd/godoc/index.go