> On 02 Nov 2014, at 19:39, Max Leske <[email protected]> wrote:
> 
> 
>> On 02.11.2014, at 18:28, Eliot Miranda <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi Max,
>> 
>>      could the cache be reimplemented using WeakArray?  Stuff like this is a 
>> drag.  eg in Squeak the Windows menu holds onto all the windows that were 
>> open when last the menu was opened.  So to get a window reclaimed after 
>> being closed if you opened the Windows menu you have to open it again.  I 
>> must fix that.
> 
> No idea. I really didn’t look at what it does, I just tracked pointers ;)
> 
> But yes, maybe that would be a good idea. Adding ‘ASTCache reset.’ all over 
> the place is not really a good strategy.
> 
> I’ll send a copy of this message to Marcus and Clément; I suspect they might 
> know more about the AST stuff.
> 

Yes… I am not happy with the AST cache as it is now. for one, yes, it might 
hold on to things. And it can get large.
So we definitely need to have a look. (I am actually amazed how well it works 
till now…  ;-) ).


        Marcus

Reply via email to