commit | cadabc1aa1cbe30c48a7b730c2907c82abff6336 | [log] [tgz] |
---|---|---|
author | Christian Edward Gruber <cgruber@google.com> | Wed Jun 26 14:34:36 2013 -0700 |
committer | Christian Edward Gruber <cgruber@google.com> | Wed Jun 26 17:45:17 2013 -0700 |
tree | 4593da1967398f21c0beb9e2f4b214de610cd96a | |
parent | d9e05457644c7600746f8614f1285d5f1aa49e17 [diff] |
Switch InternalContext to store dependency/source pairs more compactly. First, use an ArrayList instead of LinkedList, since it has only 4-8 bytes overhead per entry (depending on resize phase). Second, remove the overhead of the DependencyAndSource object, which saves 8 bytes per object, and materialize only when getDependencyChain() is called. ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=47284141