[AppDB] - speed up outputTopXRowAppsFromRating()

Chris Morgan cmorgan at alum.wpi.edu
Mon Jul 10 14:33:42 CDT 2006


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.

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: speed_up_outputtopxrows.patch
Type: text/x-diff
Size: 2093 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060710/979821f3/speed_up_outputtopxrows.patch


More information about the wine-patches mailing list