[AppDB] - speed loading of the main page by optimizing screenshot class

Chris Morgan cmorgan at alum.wpi.edu
Sun Jul 9 21:45:05 CDT 2006


I think this is the cleanest this can be done until we get php5 on the server, 
then we'll be able to private the images in the screenshot class.

This patch defers loading the thumbnail and screenshot images into memory 
until they are necessary.  Doing so requires that we not have any users of 
the screenshot class accessing the $oScreenshotImage or $oThumbnailImage 
fields directly.

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: performance2.patch
Type: text/x-diff
Size: 7160 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060709/237dafad/performance2.patch


More information about the wine-patches mailing list