How unfortunate. Although it doesn't really make that much difference in this 
scenario.

On 27 Dec 2009, at 16:15, Paul Andrews wrote:

> Henrik Andersson wrote:
>> Paul Andrews wrote:
>>> Piers Cowburn wrote:
>>> I think the compiler is still seeing the typed Vector as Vector, not
>>> typed vectors. Consequently a lookup is still involved. The
>>> Vector.<Someclass> declaration seems more of a syntactic convenience
>>> rather than anything else.
>>> 
>>> That's just guesswork on my part.
>>> 
>>> Paul
>> 
>> The compiler most definitively uses different opcodes for vectors, so it is 
>> not just a syntax convenience.
> Well, I would expect it to use different code for Vectors, but the code 
> generation may not be clever enough to look up the method associated with the 
> class reference for a given item, but will look up the method reference at 
> runtime.
> 
> Paul
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> 
> 
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to