ok so now this is exactly the VW windowspec and I understand why they did it 
like that.
They have a declarative expression with multiple possible interpretations

I was not sure that literal inside arrays where in the literal frame but I was 
stupid.

Stef

> 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
> Pharo-project@lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to