March 11, 2010
1:30 a.m.
"Mariano" == Mariano Martinez Peck <marianopeck@gmail.com> writes:
Mariano> Is there a better way ? Do you think it make sense to put this in Pharo ? I can envision collection types where collect: can create something that asSet can more easily turn into a set in bulk than adding each element individually like this. Have you already benchmarked your verbose code against the "simple" code under varying sizes? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion