bitcoin/bitcoin — pull request #2677 by sipa (2013-05-21 01:54:59+00:00)
Title: CreateNewBlock performance improvements

Remove some unnecessary copying and coins view cache layers in CreateNewBlock.

This results in a >10x speedup for GBT for me, with a large mempool (poolsz >5000).