optimize OrderedDicts in compilers (via getnikola/plugins#20)

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1027 from getnikola/optimize-ordereddict-in-compilers

optimize OrderedDicts in compilers (via getnikola/plugins#20)