[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: optimisation question
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 03 Jul 2003 09:37:18 -0300
Yet another small optimization is to remove `ctor' from inside
`numeric_range_tranformer1'. That avoids creating a new closure every
time you call numeric_range_tranformer1.
Also, if you use `..', you do not need to call `tostring':
s = s .. "," .. i
That extra function call also costs you some cents...
-- Roberto