If performance is not a problem , then you could wrap things in one array, like:

array := #(

( #selector1 arg1 arg2 arg3)
( #selector2 arg1 arg2 arg3)
( #selector3 arg1 arg2 arg3)
( #selector4 arg1 arg2 arg3)
...
)

then in compiled method you'll have only a single literal - and outer
array, and everything else will sit within it:

array do: [:msg |
  container perform: msg first withArguments: msg allButFirst ]

-- 
Best regards,
Igor Stasenko AKA sig.

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

Reply via email to