On 2010-06-01, at 00:15, Henry Minsky wrote:>/ In the new flash text layout package, some of the API's text engine classes />/ require Vector arguments. Our compiler />/ doesn't understand this syntax, I assume. I think I can deal with this in />/ the kernel using #passthrough blocks where I need />/ to construct or access Vectors. Is this likely to become standard />/ javascript? Should we be supporting the />/ syntax in our script compiler? Seems a little bit of a stretch... / The only ECMA work on typed arrays that I am aware of is focusing on byte-arrays: http://wiki.ecmascript.org/doku.php?id=strawman:typed_arrays not on arrays of arbitrary type. So, I don't think we should be trying to invent an extension here if we can avoid it. (I think that most runtimes create typed arrays for you, under the covers, as an optimization. We know for instance, that even as2 watched the keys of array and used a different implementation if all the keys were integers in a small range [we know this because there were bugs in their implementation at first].)
There is an old ES4 proposal for typed vectors, but it wasn't updated
since almost three years. Also see LPP-6709.
- [Laszlo-dev] There is a "Vector" type in as3 Henry Minsky
- Re: [Laszlo-dev] There is a "Vector" type in... Raju Bitter
- Re: [Laszlo-dev] There is a "Vector" type in... P T Withington
- Re: [Laszlo-dev] There is a "Vector" type in... André Bargull
- Re: [Laszlo-dev] There is a "Vector" typ... P T Withington
- Re: [Laszlo-dev] There is a "Vector"... Raju Bitter
