A Flash Developer Resource Site

Results 1 to 20 of 23

Thread: Flat Array vs Multidimensional Array

Threaded View

  1. #22
    Developer
    Join Date
    Apr 2007
    Location
    UK
    Posts
    324
    Hmm

    Those results are a bit weird cos from that test it looks like the multidimensional array is faster. I think this is because it takes time for Flash to evaluate map2[0*w+j] for the flat array.

    Also, I downloaded your Flash 9 source (which is AS2 by the way) and modified it for AS3 and it still looks like the multidimensional array was faster.

    Even more argument to use multidimensional then...
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center