scripts and results (was Helping to find the usefulness of a proposal)
brucechapman at paradise.net.nz
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 -
> 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 ?
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