[squeak-dev] The Trunk: Tests-ul.200.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sat Apr 27 21:50:59 UTC 2013


Then what does #, exactly if not traversing the String from the beginning
when making a concatenated copy?


2013/4/27 Frank Shearar <frank.shearar at gmail.com>

> In Schlemiel's algorithm you have to traverse your string from the
> beginning. Here, the problem is that at every step you're making
> String after String after String that you just throw away.
>
> Unless perhaps you're suggesting that the Schlemielness comes from not
> doing things the way our particular garbage collector like to do
> things?
>
> frank
>
> On 27 April 2013 22:08, Nicolas Cellier
> <nicolas.cellier.aka.nice at gmail.com> wrote:
> > http://en.wikipedia.org/wiki/Schlemiel_the_Painter%27s_algorithm
> >
> >
> > 2013/4/27 <commits at source.squeak.org>
> >
> >> Levente Uzonyi uploaded a new version of Tests to project The Trunk:
> >> http://source.squeak.org/trunk/Tests-ul.200.mcz
> >>
> >> ==================== Summary ====================
> >>
> >> Name: Tests-ul.200
> >> Author: ul
> >> Time: 27 April 2013, 10:08:43.206 pm
> >> UUID: dfe70287-0768-42f9-97b7-d7ba6fbd6bb6
> >> Ancestors: Tests-fbs.199
> >>
> >> - avoid suboptimal string concatentation in ReleaseTest >>
> >> #testMethodsWithUnboundGlobals
> >>
> >> =============== Diff against Tests-fbs.199 ===============
> >>
> >> Item was changed:
> >>   ----- Method: ReleaseTest>>testMethodsWithUnboundGlobals (in category
> >> 'testing') -----
> >>   testMethodsWithUnboundGlobals
> >>         | unbound |
> >>         unbound := SystemNavigation default methodsWithUnboundGlobals.
> >>         Smalltalk cleanOutUndeclared.
> >> +       self assert: unbound isEmpty description: 'Unbound: ', unbound
> >> asCommaString!
> >> -       self assert: unbound isEmpty description: ('Unbound: ', (unbound
> >> reduce: [:acc :each | acc, ', ', each]))!
> >>
> >>
> >
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130427/48cdb6de/attachment.htm


More information about the Squeak-dev mailing list