RE: AS 2.0 optimising.. 2004-03-15 - By Ahmet Zorlu
Back <quote> in AS2, now that flash finally has a concept of type, do we finally get "real" (i.e constant-time access) arrays? </quote>
afaik, only the compiler (lexer, parser) has the concept of *Type*, all type information are lost when AS 2 is compiled to swiff bytecodes. At runtime, the good old type inference engine should be doing all the work. So -correct me if I'm wrong-, we have no strongly typed arrays, yet. Array lookup should take 0(n) time, not a constant time. I am guessing that they are using a dictionary internally, a hashtable where values are indexed as strings [String name, Object value].
// A.Zorlu // Web developer
-- __ ____ ____ ____ ____ ____ ____ ____ ____ ___ Check out the latest SMS services @ http://www.linuxmail.org This allows you to send and receive SMS through your mailbox.
Powered by Outblaze
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107053 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|