[TYPO3-dev] Update database when saving plugin flexform configuration in BE?

Dmitry Dulepov dmitry.dulepov at gmail.com
Thu Sep 10 12:16:28 CEST 2009


Hi!

JoH asenau wrote:
> This is why I proposed to create exec_SELECTgetSingleRow, which would serve
> both of us well - even if you tried to ridicule it.

Please, propose. I do not object. If you need it, just do it :)

> And to "provide numbers":
> We were able to increase the performance of the testing system significantly
> (means: single to double digit percentages) just by replacing some API calls
> with others and optimizing the code while still keeping it as readable as
> possible. Especially exec_SELECTgetRows has been used in different places,
> even though it was obvious that only one result row was to expect.
> 
> A loop doubles the number of function calls in case you only want one row,
> since you have to call sql_fetch_assoc at least twice within the while loop
> to get back FALSE for the missing second row. Even if we are just talking
> about values < 1ms here, they will sum up to a significant value in the end,
> which is even more significant, in case we just want to deliver a page from
> cache, which would have been possible within just a few milliseconds.
> 
> Got the point?

The point but not numbers...

-- 
Dmitry Dulepov
Facebook: http://www.facebook.com/dmitryd
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs




More information about the TYPO3-dev mailing list