On Tue, 9 Mar 2004, Leopold Toetsch wrote: > Object instantiation is 40 % of the whole used time. Let's start to > optimize object layout first.
I think there's definitely the potential for a big speed-up there. For instance, simply replacing the Array that used to store the class, classname and attributes gives me a speed-up of about 15% on the object benchmarks; getting rid of the indirection entirely should be a much bigger win. Simon