> so do I understand correctly that your point is to replace
>        asByteArray by #[]

Yes, instead of writing

    #( 1 2 3 ) asByteArray

you write

    #[ 1 2 3 ]

Which is much faster and saves memory, as no conversion and no copying
happens at runtime. All Smalltalk dialects (with the exception of
GemStone) support this syntax. Pharo should have it too.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to