[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Object system
- From: Paul Du Bois <paul.dubois@...>
- Date: Thu, 9 Dec 2004 16:58:27 -0800
On Thu, 09 Dec 2004 10:44:11 -0500, John Paquin
> hmmm, so your storing your tables in the instance, not in the class
> definition? doesn't that waste a lot of memory?
Well, actually, yes it did waste a lot of memory :). Caching was
disabled recently because we're hurting more for memory than CPU. If I
get the time, I might re-enable caching but put cached values in the
first parent table which I think is what you suggest (so, more like
classic C++ vtbls).
Anyway, whether things are cached in the instance or the first parent,
or what-have-you, the idea is pretty much the same: before you reload
class C, clean out all cached references to things in C.