Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Mac OSX Support (https://www.gnutellaforums.com/general-mac-osx-support/)
-   -   Hot performance tip! (https://www.gnutellaforums.com/general-mac-osx-support/20452-hot-performance-tip.html)

Hawke May 27th, 2003 07:28 AM

Hot performance tip!
 
On OSX, Limewire's developers have made a rather interesting choice as far as window redraw update events are concerned: rather than stick to the boring, conventional path of redrawing portions of the window only when the content in them changes (thereby eliminating needless drawing and keeping things running quickly), Limewire instead opts to constantly redraw the entire window over and over again as fast as possible even if no content has changed. You can verify this yourself using QuartzDebug, part of Apple's Developer Tools.

This is (one of the reasons) why running Limewire brings the entire system to a brisk -- but aerobic -- crawl and is, in a general sense, a unique piece of software as far as usability and user experience are concerned.

Fortunately, if hide the window or completely obscure it with another window (from another application: any will do because none of them have chosen the interesting and special window update strategy that Limewire has), the OS will optimize out the update (some might say "intelligently optimize out the update") because it wouldn't change anything and would simply waste CPU cycles (an example of the equally viable alternative to "always draw everything all the time").


All times are GMT -7. The time now is 09:06 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.