User Tag List

Results 1 to 2 of 2

Thread: How big impact do loop names have on performance?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,156
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Question How big impact do loop names have on performance?

    I know I have read that shorter loop names are faster than longer ones because a shorter search is needed for finding the loop. I don't know how big impact this has though, if any. Do anyone know?

    For example if I do a regular loop or a foreach loop and name it something short like "1" vs something descriptive like "finding_the_apple".

    Of course I like to have descrpitpive loop names as it is much easier to read that code, but if there is a big performance loss for it that would be non-optimal..

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,190
    Mentioned
    141 Post(s)
    Tagged
    2 Thread(s)
    The size of loop names doesn't matter anymore, except when you use variable loop names (= with expressions, for example On Loop AltStringA$("Active 1")).

Similar Threads

  1. Loop names...
    By Reactor in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 2nd July 2007, 03:01 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
  •