|
|
||
|
Yep, that's a fine way - thanks! :)
Jamie Webb kirjoittaa torstaina, 5. helmikuuta 2004, kello 03:02:
I would be inclined though to write those functions as:
function first(x) return x end function second(_, x) return x end function third(_, _, x) return x end
It's about 5 times faster than constructing and indexing arg.