Forums / Developer / How to build an update CLI script without memory problem ? / Comment55827
Bertrand Dunogier
Wednesday 18 November 2009 9:15:20 am
Hi Kristof !
Well, such an iterator would indeed be a good idea. But based on how developement is organized, and on real life, I think that applying this to ezPersistentObject is a bit optimistic, especially since it is based to be heavily modified soon.
What we will probably start with is a global in-memory cache API, maybe linked to memcache and other cache mechanisms, so that we don't have all these hardcoded global calls everywhere. The iterator idea, with automatic cleanup, etc, is a very good point though.
I'm very eager to hear any idea you might have in that area though !
Bertrand Dunogier eZ Systems Engineering, Lyon http://twitter.com/bdunogier http://gplus.to/BertrandDunogier