Copying objects bytearray vs for in loop
as3, bytearray, copy, for in loop, object
Mar 01code, thoughts2 Comments
I was curious, which of those would be quicker in the “copying objects” battle — bytearray / for in loop.
Foreseeing your possible thoughts, “yes” i do realize that those methods actually differ (bytearray copies the entire object, uses describeType etc), but still curiosity takes over ![]()
And, frankly, i was surprized with the results. See it for yourself.
Read more





