straw-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-devel] imagecache overhaul, next release?


From: Juri Pakaste
Subject: [Straw-devel] imagecache overhaul, next release?
Date: Thu, 16 Oct 2003 23:50:29 +0300

Second part of the code restructuring to get memory usage to sensible
levels is done. Well, I expect there'll be need for bugfixes, but
anyway...

Two things:

ImageCache is no longer a weak ref dictionary, instead it does
refcounting itself. This allows us to dynamically load and unload items
without worrying about losing their images.

Images no longer store the image data, they just fetch it from the
database. This alone should reduce memory usage quite a bit; haven't
compared it to older versions, though.

These two changes meant quite a bit of changes all over the code, as you
might notice. Doesn't tell too good things about the coupling level
between various modules, but such is life.

Before starting to work on the item loading/unloading (and frankly I
don't feel much like doing it right now, will probably focus on
something else instead), I think it would be good to push out 0.20. Jan,
how do things look at your end? Do you think we would be able to put out
a new version any time soon? Any significant regressions as compared to
0.19, any stuff you want to finish before the next release?

-- 
[ Juri Pakaste / address@hidden / http://www.iki.fi/juri/ ]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]