#24959Make createVersionNumberedFilename() use native dirname() function
Description
t3lib_div::createVersionNumberedFilename() calls t3lib_div::dirname() which explodes the path.
The whole thing is called few hundered times, while opening the Backend. This takes ~1.5% of the BE generation time.
Calling PHP’s native dirname() function could speed up createVersionNumberedFilename, we just have to take care of the slightly differences! (providing /foo/bar/ returns /foo/, currently we get /foo/bar/)
(issue imported from #M17487)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.