Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


ratio | 16 comments | Create New Account
Click here to return to the 'ratio' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ratio
Authored by: moki on Oct 09, '01 04:03:56PM

I arrived at the ratio I mentioned by querying the window server programatically to see what the current compression stats are.

A simple way to see what windows are compressed is to run QuartzDebug (installed with the Developer Tools), click on "show window list" and look under the kByte column -- anything with a C after it is compressed.

BTW: the "ratio" in the plist is the minimum compression ratio that it needs to get in order to keep a window compressed; this is different from the actual compression ratio that you'll get, which varies somewhat depending on your window usage.



[ Reply to This | # ]
ratio
Authored by: sungwoo on Oct 09, '01 04:29:50PM

I took a look Quarz Debug, and most compressed buffers are found from Explorer.
With your tip, also menu pull-down and typing in Explorer getting more smooth and faster.
Even now I got many pagein and out, still very smooth. It is amazing.

BTW, if I want to change the ratio as 10:1, how much value should I modify from your example?
Thanks.



[ Reply to This | # ]
ratio
Authored by: moki on Oct 09, '01 07:16:41PM

you should not change the ratio listed -- again, it is the *minimum* compression ratio that will be used. In other words, if a window can't be compressed more than 1:1, it won't be compressed at all.

You cannot affect how much window buffers are actually compressed -- this is a function of what is displayed in your windows, and is not anything you can control.



[ Reply to This | # ]