saltstack/salt — pull request #13011 by terminalmage (2014-05-23 22:31:19+00:00)
Title: Optimizations for saltutil.sync_all and state.highstate

This optimizes saltutil.sync_all by only reading the top file once, and storing the results in the ``__context__`` dict, rather than reading the top file again when each custom type is synced.

In addition, a redundant module refresh has been removed in ``salt.state.BaseHighState.load_dynamic()``.