Google Translate:

Script by 3ICE.

Categories

Archives

Affiliates

  • 13Dec

    Every time you use this function:

    call DoNothing()
    Do Nothing

    You call this JASS function:

    function DoNothing takes nothing returns nothing
    endfunction

    Which takes up valuable processing time.
    By choosing not to use call DoNothing(), you win 12.3% speed increase!

    call DoNothing()+return executed 2162 times per milisecond.
    //null+return executed 26668 times per milisecond.
    The real benefit of not using call DoNothing() is 0.00046 ms per call.

    Posted by 3ICE @ 6:26 am

8 Responses

WP_Cloudy

Leave a Comment

Please note: If you post more than 5 URLs, then automated moderation will delay your comment for investigation. There is no need to resubmit the comment as it will be approved if found to be appropriate.