On Fri, 6 Jan 2012, Stéphane Ducasse wrote:
On Jan 6, 2012, at 2:46 PM, Levente Uzonyi wrote:
Of course, but I'd check for the class equality first, because it's faster (yeah, i know you
turned off inlining of #class, but Cog doesn't care about that ;)). Another thing that you
should add (besides tests of course) is SmallInteger >> #pointsTo: which should return
false. Also make sure that pointer tracing tools use #pointsTo:. In Squeak I found that some of
them "reinvented" this method?
Do you mean what I understand :)? that some tools compiled methods? :)
No, they implemented more or less the same thing what #pointsTo: does (or
should do).
Levente
Stef