[!!!][TASK] Remove words and words_strings from ReferenceIndex 10/35310/6
authorStephan Großberndt <stephan@grossberndt.de>
Thu, 11 Dec 2014 15:13:14 +0000 (16:13 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 12 Dec 2014 11:43:15 +0000 (12:43 +0100)
commit7240297ac1af0ce395f764cc21e1c6782efb69d0
tree3412496c082ce729befdd1ad5ec27d2259aa937b
parent08cdde4191d68cbfef7113482f48471af19db21b
[!!!][TASK] Remove words and words_strings from ReferenceIndex

In ReferenceIndex->generateRefIndexData the strings from all input and
text fields were collected in $this->word_strings. But the array was
never accessed. Remove ReferenceIndex->words (unused) and
ReferenceIndex->word_strings and the collection of word_strings. This
greatly reduces memory usage when bulk inserting or editing records as
well as updating the reference index.

Resolves: #63780
Releases: master, 6.2
Change-Id: I56d6a3e615cab44cbecff5a7d4dec42a1da29fc6
Reviewed-on: http://review.typo3.org/35310
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Database/ReferenceIndex.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-63780-RemoveWordStringsFromReferenceIndex.rst [new file with mode: 0644]