[AppDB] - speed up outputTopXRowAppsFromRating()

Jonathan Ernst jonathan at ernstfamily.ch
Tue Jul 11 01:19:33 CDT 2006


Le lundi 10 juillet 2006 à 15:33 -0400, Chris Morgan a écrit :
> If we have found enough applications for our required top X list we should 
> early out instead of issuing another database query with a limit of 0.
> 
> Also rename $num_apps to $iNum_apps.

- This doesn't follow our coding standards.
- Also the comments you added don't follow it too.
- In a next patch this function should be renamed to
util_output_top_rated_apps($rating, $iNum_apps) for example

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060711/8a8582ad/attachment-0001.pgp


More information about the wine-patches mailing list