[squeak-dev] SmalltalkImage >> #useUpMemoryWithTinyObjects

Frank Shearar frank.shearar at gmail.com
Sat Dec 7 22:15:29 UTC 2013


Is there any particular reason why this method makes new BitBlt
instances, as opposed to Object instances? Would it still perform its
purpose if I changed

(1 to: 10000) collect: [:i | BitBlt new]

to

(1 to: 10000) collect: [:i | Object new]

?

This way I can remove one strand of the System -> Graphics dependency.
(It might not _ever_ go away, but you know, one strand at a time...)

frank


More information about the Squeak-dev mailing list