elasticsearch/elasticsearch — pull request #4021 by kimchy (2013-10-31 02:11:46+00:00)
Title: Improve new field mapping introduction performance

Improve the introduction of new fields into the concrete parsed mappings by not relying on immutable maps and copying over entries, but instead using open maps (which will also use less memory), and using clone to perform the copy on write logic