Using a memory pool to reduce delete performance.