Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

check what dictionary null checks can be simplified. (save 10 % performance) #52

Closed
MindScriptAct opened this Issue · 1 comment

1 participant

@MindScriptAct

if("key" in dict){}

is 10% faster then

if(dict["key"]){}

is 10% faster then

if(dict["key"] == null){} or if(dict["key"] != null){}

@MindScriptAct

done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.