lua-users home
lua-l archive

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


Philippe Lhoste wrote:

> I had another idea.
> If you want so badly to optimize this routine, it is probably because it
> will be called often.
> So you can do the following:


[...]


> print(numeric_range_tranformer5("1-10"), hardRange)
> print(numeric_range_tranformer5("2-5"), hardRange)
> print(numeric_range_tranformer5("7-20"), hardRange)

Well, i think don't want to optimize it /so/ badly. ;)
But thanks for a tip nevertheless.


-- 
Regards, max.