[Newbies] Re: Another extension proposal -> subsets
cdrick
cdrick65 at gmail.com
Fri Jul 25 09:45:29 UTC 2008
>
>
>
> He, press ALT-v to get versions of #combinations:atATimeDo: and thanks tk!
:)
>
>
> I like bit sift solution too for it's simplicity.
me too even if we could argue this is not self explaining...
That's what Andres Valoud said here (thanks Marcin):
http://blogten.blogspot.com/2005/09/very-nice-methods.html
>
> The problem is that it will iterate p times for creating each subset of
> size p.
> #combinations:atATimeDo: does not. It is building subsets in parallel.
uhm, ok...
the diferrence is an order or 2 more or less...
>
> The required copy does an iteration though, but in a primitive!
> Hence the difference...
>
> Nicolas
>
Thanks all, this was fun and interesting ;)...
Cédrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20080725/115c8ce5/attachment-0001.htm
More information about the Beginners
mailing list