Alien-Core-kdt.59

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Alien-Core-kdt.59

Ken Treis
AlienWeakTable sends #copyGrownBy: to both of its internal arrays, but  
it looks like neither Squeak nor Pharo implement it in the collection  
hierarchy. Pharo has #grownBy:, but Squeak doesn't. So in Alien-Core-
kdt.59, I implemented SequenceableCollection>>copyGrownBy: by copying  
in the Pharo implementation of #grownBy:.

This should solve some nastiness that could happen when the table hit  
its initial maximum (1024 objects).

--
Ken Treis
Miriam Technologies, Inc.


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project