• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[April Fool's 2012] FastEfficientSpeedy

I know you guys care so much about speed, so I wrote this for you, so that (finally) you can have the fastest possible library.

JASS:
library FastEfficientSpeedy //The most efficient library ever.
    //By Bribe, version 2.0.0.6
    
    function SuperFast takes nothing returns nothing
    endfunction //Gets inlined, so don't worry about calling it.
    
    globals
        //There are no globals, so this library is really easy to implement.
    endglobals
    
endlibrary
 

LeP

LeP

Level 13
Joined
Feb 13, 2008
Messages
539
The funny thing is, that SuperFast actually does not get inlined.
JassHelper needs something to inline. An empty body can't be inlined.
 
Level 10
Joined
May 27, 2009
Messages
494
SuperFast vs HyperFast

any benchmarks

hmmmmmm

EDIT:
i got something faster for the sake of every people
JASS:
library FastEfficientSpeedy //The most efficient library ever.
    //By Bribe, version 2.0.0.6
    
    function SuperFast takes nothing returns nothing
        //!runtextmacro inlineScript(SuperFastEfficientSpeedy)
    endfunction //Gets inlined, so don't worry about calling it.
    
    globals
        //There are no globals, so this library is really easy to implement.
    endglobals
    
endlibrary
 
Last edited:
Level 31
Joined
Jul 10, 2007
Messages
6,306
Bribe, you again never fail to disappoint with your terrible library. You are obviously stupid and lack training in being awesome. You should just strive to be like me because I am truly awesome.

This is how you do it obviously
JASS:
//! textmacro SUPER_DUPER_DUPER_DUPER_DUPER_FAST_AND_FAST_FAST_AND_SUPER_SUPER_SUPER_SUPER_SPEEDY_VERY_SPEEDY
//! endtextmacro

To use
JASS:
//! runtextmacro SUPER_DUPER_DUPER_DUPER_DUPER_FAST_AND_FAST_FAST_AND_SUPER_SUPER_SUPER_SUPER_SPEEDY_VERY_SPEEDY()

Pros
  • No boolean from library usage
  • Adds 0 code to your map
  • Adds 0 code when using it in your map

Cons
  • Textmacro usage, harder to use
  • Bad API

Be sure to give me credit for all of your code and give yourself credit for nothing since I technically wrote it. I'd submit it myself, but frankly, it's not even worth the effort to submit now. I'll just let you submit it for me. Oh, and your post must praise my name for using my code.

In fact, I'll even write the post for you, so all you have to do is edit it. How nice am I? Totally nice obviously.

Nestharus is just so awesome

I have written this poem in dedication to nes nes

Nes Nes is awesome
By Nes Nes

Nes Nes is so awesome
That I wrote this awesome poem
How awesome

And the amazing super fastest library ever to be written ever by ofc the most awesome Nes Nes aka Nestharus
JASS:
//! textmacro SUPER_DUPER_DUPER_DUPER_DUPER_FAST_AND_FAST_FAST_AND_SUPER_SUPER_SUPER_SUPER_SPEEDY_VERY_SPEEDY
//! endtextmacro

Be sure to edit your post asap and then I will personally give you permission to approve the resource.

In fact, while we are on the topic, we should require that all resources praise Nes Nes and have a poem in them dedicated to Nes Nes, otherwise they will be insta rejected ;o.
 
Last edited:
Top