User Tag List

Results 1 to 4 of 4

Thread: Create tableview on the fly damned slow

  1. #1
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Question Create tableview on the fly damned slow

    Hi!

    In my app i load ini data and create a own gui table view. I've 150 entries and it takes 7 seconds on windows to create the tableview with fastloop.

    any idea how to optimize this?

    (1. i check how many items are in the ini, start the fast loop x times)

    on loop: create actives (background & graphics for every line) & active system boxes (main text and description), then i position them accordingly to there order number in the ini file.

    this should work on mobile devices, but no one of my users will wait 7 seconds till the list is refreshed

    any idea? thanks!

    EDIT: It seems the reason is because i load data from the ini file while in the fastloop - that slows down from 0,5 to 7 seconds

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps use Array or List object instead of INI?

  3. #3
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I do this already. I Preload the Data to a List obj. The bottleneck is writing the Text to asboxes

  4. #4
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    I've got a bit speed up by always hiding asb if outside the visible window (they shouldnt be rendered if outside, though, but it helped a bit)

    also i create the objects now by fastloop and then set the texts by standard loop to make the pause as small as possible. it's still too big.

    maybe someone have ideas what's the best way to create an individual table for mobile devices? (the standard list object is not a real option, because i cannot change the look on android & ios and i cannot
    add subtext to it)

    the main bottleneck is still changing the text of every text object (asboxes) - hm...

Similar Threads

  1. TableView mode for List Object questions [Beta257-6]
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 12th March 2013, 01:27 PM
  2. Slow Down?
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 3rd June 2011, 02:43 AM
  3. Slow down
    By Bruto in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 13th November 2007, 07:55 PM
  4. Big Bug my ufo slow down and application slow down
    By DJ_Wild in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 12th October 2007, 04:58 PM
  5. Slow down
    By kjellm87 in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 23rd July 2007, 08:23 PM

Posting Permissions

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