Menu

#33 String Constant Folding

open
nobody
None
5
2009-09-06
2009-09-06
IcyNeko
No

Would be nice if strings were also considered for folding.

Example:

string FOO = "bar";
default {
state_entry() {
llOwnerSay(FOO);
}
}

would then optimize to:

default {
state_entry() {
llOwnerSay("bar");
}
}

Discussion


Log in to post a comment.

Monday.com Logo