lua-users home
lua-l archive

Re: Lua string library partially reimplemented in Lua

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> (Unrelated though, but something I'd like to see in jit 2.x would be 
> things such as "if str:sub(1, 2) == "__" then" remove the string creation 
> and just compare the first two bytes - just because it's a fairly common 
> operation in my code at least).
Maybe this should deserve a proper function in strlib.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /