Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-includes/theme.php on line 623
Do Nothing is EVIL! | Warcraft III World Editor Tutorials Map Making Help Blog

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

6 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.