#27160Do not delete uniqueArray in TYPO3 4.6.*
Description
Hello Core-Team,
I just see that you want to delete t3lib_div::uniqueArray in TYPO3 4.6.*. Please don’t do that, be faster than PHP: unique_array():
// the following is much faster than array_unique()
$tempArray = array();
foreach($myArrayWithDoubledValues as $key => $val) {
$tempArray[$val] = true;
}
$uniqueArray = array_keys($tempArray);
I have tested it…this is really fast and I think this should be stayed in TYPO3-API.
Stefan
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.