scripts and results (was Helping to find the usefulness of a proposal)

Bruce Chapman brucechapman at
Tue Apr 7 01:22:27 PDT 2009


Thanks for doing that.


P.S. One answer below

Ruslan Shevchenko wrote:
>  Good day,
> Few days ago Stephan give idea about writing simple script, which
>  count amount of possible-optimizations of existing code.
- SNIP -

> <BTW>
> Exists one proposal, which I can't find on Joe blog: is change of variable
> subtype inside 'if instance' statement
> I. e. patterns look:
> if (x instanceof something)
> {
>  something sx = (something)x;
> }
> And proposal tell type 'x' as 'something' inside dominate if block.
> Are anybody remember such proposal or it's was my fantasy ?
> </BTW>
This is part of the functionality of the switch instanceof proposal, the 
desugaring probably has something that looks like that in it, and I 
mentioned it in one of my comments regarding that proposal.


More information about the coin-dev mailing list