CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #39053

Hook initialization in loop

Added by Sebastian Michaelsen 10 months ago. Updated 10 months ago.

Status:Resolved Start date:2012-07-18
Priority:Could have Due date:
Assignee:Ingo Schmitt % Done:

100%

Category:- Spent time: 0.10 hour
Target version:-
Votes: 0

Description

The processInputForm Hook in pi3 is initialized inside a foreach loop.
$hookObjectsArr will be cleared and filled with the same data over and over again.

Move the initialization to the beginning of the getInputForm() Method to gain performance.

39053_1.diff (1.5 kB) Sebastian Michaelsen, 2012-07-18 12:34

History

Updated by Sebastian Michaelsen 10 months ago

Updated by Ingo Schmitt 10 months ago

  • Assignee set to Ingo Schmitt

Updated by Ingo Schmitt 10 months ago

  • % Done changed from 0 to 100

Fixed in Trunk, Rev. 64704

Updated by Ingo Schmitt 10 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF