[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: the most optimal string "trim" implementation
- From: David Manura <dm.lua@...>
- Date: Fri, 25 Dec 2009 01:09:03 -0500
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.