commit | a42c0bb09a50f881634ebd14b90cc4c453d863c6 | [log] [tgz] |
---|---|---|
author | Shawn Pearce <sop@google.com> | Wed Jan 08 13:06:01 2014 -0800 |
committer | Shawn Pearce <sop@google.com> | Wed Jan 08 14:01:42 2014 -0800 |
tree | ba85dc563530201565aa0127c74273deec163a8b | |
parent | a427d9596eadf9cacb9ff0c9f3585856804172d7 [diff] |
Simplify documentation indexer Write the index entirely in RAM. Its only a few hundred KiB, which trivially fits in memory. Compress it twice in memory, once to build the ZIP that is unpacked at runtime, and again to package it into a JAR for linking with the runtime. This saves a build step in the BUCK rules. Move the ZIP under the server package name, to reduce any risk of collision with another concept of "index.zip". Change-Id: I74e59712e9855ac79c5220ff0a6b30ecbc3d152f