major performance improvements in mempool handling