Xref: utzoo comp.object:2038 comp.lang.smalltalk:2319 Path: utzoo!utgpu!watserv1!watmath!att!att!tut.cis.ohio-state.edu!abvax!iccgcc!klimas From: klimas@iccgcc.decnet.ab.com Newsgroups: comp.object,comp.lang.smalltalk Subject: Smalltalk performance tips Message-ID: <1712.272d936c@iccgcc.decnet.ab.com> Date: 30 Oct 90 19:51:24 GMT Lines: 14 One can achieve significant (i.e. 5-10x) performance improvements in Smalltalk by following a few simple rules. -don't create objects inside enumerations (loops). -use arrays instead of ordered collections whenever they can be presized. -byte align graphics (i.e. use an X coordinate that is an even multiple of 8, e.g. 8@0, 16@3, 64@22). There are other pearls of wisdom, but these are relatively painless and can provide immediate improvement with minimum effort. BTW the last recommendation may be Digitalk specific and has not been verified for Smalltalk-80.