Skip to main content

str_upper

Function str_upper 

Source
pub fn str_upper(state: &mut LuaState) -> Result<usize, LuaError>
Expand description

string.upper(s) — return uppercase copy.

C: static int str_upper(lua_State *L)

Borrow the source bytes; called as the string.gsub replacement function in string_ops_long ~700k times against %w+ matches, so the intermediate copy from check_arg_string added up.