[KCP] new initialize pattern
nbo at ensm-douai.fr
nbo at ensm-douai.fr
Mon Aug 25 15:25:00 UTC 2003
Hi Andreas,
Its part of the KCP project so it is on the KCP web page with other changesets
waiting for harvesting ;-)
You can get it directly by getting link:
http://minnow.cc.gatech.edu/squeak/uploads/KCP-0102-
GeneralizeTheUseOfTheNewInitializePattern.cs
Regards,
Noury
Selon Andreas Raab <andreas.raab at gmx.de>:
> > I just uploaded the change set to generalize the use of the
> > new-initialize pattern.
>
> Great, but where?
>
> Cheers,
> - Andreas
>
> > -----Original Message-----
> > From: squeak-dev-bounces at lists.squeakfoundation.org
> > [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On
> > Behalf Of Serge Stinckwich
> > Sent: Sunday, August 24, 2003 8:45 PM
> > To: squeak-dev at lists.squeakfoundation.org
> > Subject: [KCP] new initialize pattern
> >
> >
> > Hi all,
> >
> > Noury got some email problems, so i forward his message to the list.
> >
> > ----- Message transféré de bouraqadi at ensm-douai.fr -----
> > Date : Sun, 24 Aug 2003 18:27:16 +0200
> > De : bouraqadi at ensm-douai.fr
> > Sujet : [KCP]new initialize pattern
> >
> > Hi,
> >
> > I just uploaded the change set to generalize the use of the
> > new-initialize
> > pattern. This makes every object answer the initialize message (empty
> > method
> > hold by Object). The new and new: methods hold by Behavior
> > are redefined
> > to
> > send the initialize message to every new instance.
> > I also removed all other redefinition of new or new: that
> > does the same
> > job.
> >
> > In order to evaluate the effect of this change on performance I run
> > macrobenchmark on my laptop PIII 1.2GH with 256MB RAM. Here are the
> > result I
> > got.
> >
> > -Before loading the change set: #(6187 68898 21508 9724 0 7097 7097)
> >
> > -After loading the change set: #(6683 70241 21210 10757 0 6815 6815).
> >
> > -Percentages of After/Below: #(108 101 98 110 - 96 96)
> >
> > When percentage are less than 100, they mean that the change improve
> > performance.
> >
> > Noury
> >
> >
> > --
> > Serge Stinckwich -< )
> > Université de Caen>CNRS UMR 6072>GREYC>MAD /~\
> > http://www.iutc3.unicaen.fr/serge/ (/ |
> > Smalltalkers do: [:it | All with: Class, (And love: it)] _|_/
> >
> >
>
>
>
>
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/
More information about the Squeak-dev
mailing list
|