User Tag List

Results 1 to 3 of 3

Thread: Question re: Performance with multiple arrays

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Chrille's Avatar
    Join Date
    Jul 2006
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Question re: Performance with multiple arrays

    For the project I'm working on I'm using arrays to store alot of data. Keeping track of all the data can be a hassle, but there's too much info to store in actives as named values. I just got the idea to split up the data over several arrays to at least make identifying the values a bit easier.

    Here's an example where using more arrays will be useful:
    1. I currently store all the values for the characters in one array. It stores everything from position data, character stats and animation data. Let's say the array dimensions are X: 60, Y:20
    2. I'll create two new Arrays, storing only the character stats in one and animation data in the other. So each array dimension will be X: 20, Y: 20

    If I were to do this in C++ for example, it wouldn't affect the performance. I guess my question is simply, will several arrays in fusion behave any different performance-wise considering there would be more objects?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export Module
    ximo's Avatar
    Join Date
    Jul 2013
    Location
    Spain
    Posts
    128
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I using in my app various arrays objects thousands of strings and numbers .The performance is super fast even in android 2.3 one core.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Chrille's Avatar
    Join Date
    Jul 2006
    Posts
    389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, that's good to know! I'm currently using about 20 different arrays, I guess a few more wouldn't hurt.

    I think my mind is stuck in the early nineties as far as memory usage goes :P

Similar Threads

  1. Fastest way to merge multiple arrays?
    By Vaxx in forum Fusion 2.5
    Replies: 2
    Last Post: 12th May 2014, 07:24 PM
  2. General Question about Multiple Arrays
    By Docilemouse in forum Fusion 2.5
    Replies: 0
    Last Post: 7th January 2014, 02:21 AM
  3. Need help with Arrays (Basic question I guess ^^)
    By Gogeta in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 28th August 2012, 03:59 PM
  4. Question about Arrays
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 23rd October 2011, 08:10 PM
  5. are multiple big arrays allowed?
    By integrality in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 18th August 2006, 12:39 AM

Posting Permissions

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