Arrays with empty slots, all collections whose size is smaller than their
capacity... :)
On Wed, Sep 3, 2014 at 7:52 AM, Yuriy Tymchuk yuriy.tymc...@me.com wrote:
All ‘uninitialised’ variables are pointing to nil. I think this is the case
Uko
On 03 Sep 2014, at 06:10, Ben Coman
Ah yes. I should have worked that out myself, from here...
ProtoObjectpointsTo:
^ (self instVarsInclude: anObject) or: [ ^self class ==
anObject]
for example
{ nil } pointsTo: nil "-- true"
thanks Yuriy.
cheers -ben
Yuriy Tymchuk wrote:
All ‘uninitialised’ variables are
I am curious... what does it mean that
nil PointersTo size
is a large number? Intuitively I'd have thought the answer would be zero.
Pharo build 40196 -- ~101,000
Pharo build 30856 -- ~103,000
Pharo build 20628 -- ~80,000
Squeak 4.5 -- ~40,000
cheers -ben
All ‘uninitialised’ variables are pointing to nil. I think this is the case
Uko
On 03 Sep 2014, at 06:10, Ben Coman b...@openinworld.com wrote:
I am curious... what does it mean that
nil PointersTo size is a large number? Intuitively I'd have thought the
answer would be zero.
Pharo