lua-users home
lua-l archive

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


On Fri, Dec 25, 2009 at 12:42 AM, Gabríel A. wrote:
> I can assure you that the following is more optimal:
>        local string_match = string.match  ...

That was considered a variant in the study.  On further testing, it
gives maybe 10% in best case (empty string data and inlining the
function call) at the cost of some extra code.