On 2/5/06, Youness Alaoui <[EMAIL PROTECTED]> wrote:
I think we should (after testing it's not too cpu intensive) do a
"::skin::clearUnusedImages" after a chatwindow close... and it should be
like this :
proc clearUnusedImages { } {
...

hum.. just tested, and I think if it's done enough times, it shouldn't be
that cpu intensive.. problem is that it will force us to load/unload many
images, example, all the images used by the scrollbar, the hover/unhover,
the through bar, etc.. all those will not be 'in use', but will still be
needed very soon... anyways, I suggest we go with this!

hmmm, maybe an attribute or anything can be added to images, something like "clearme" that would be 0 by default and 1 for any displaypic/custom smiley/..., so clearUnusedImages just drop the "clearme" images, aka the displaypics and smileys.

If that's not possible, leaving that "clearUnusedImages" the way you said, but calling it instead of when closing any chatwindow, once every two minutes... would mean no extra procs called when closing windows, and a cool memory freeing time...

maybe anyone got a better idea on that, thought.

--
KaKaRoTo


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel



--
Lz ([EMAIL PROTECTED]).
http://elezeta.bounceme.net

Reply via email to