elasticsearch/elasticsearch — pull request #2582 by s1monw (2013-01-24 10:54:24+00:00)
Title: Reuse MemoryIndex instances across Percolator requests.

* added configurable MemoryIndexPool that pools MemoryIndex instance across Threads
* Pool can be configured based on the number of pooled instances as well as the maximum number of bytes that is reused across the pooled instances

Closes #2581