HashBits, a lazy way

Ned Konz ned at bike-nomad.com
Fri Jul 11 17:48:45 UTC 2003


On Friday 11 July 2003 10:13 am, Tim Rowledge wrote:

> I would point out that I was rather surprised to see a large number
> of Objects in the Symbol class var 'SymbolTable'. Surely just
> Symbols ought to be in there? Is this some sideffect of WeakArray?

There shouldn't be anything other than nils (because of the weak set) 
and Symbols, and there aren't any in my 3.6b image:

oddities _ OrderedCollection new.
Symbol allSymbolTablesDo: [ :ea | ea notNil and: [ ea isSymbol not 
ifTrue: [ oddities add: ea ]]].
oddities inspect.

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list