lua-users home
lua-l archive

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


Steve Litt <slitt@troubleshooters.com> writes:
> Is table lookup really more expensive than passing in as an arg and passing 
> back as a return? Ugh!

Passing in an arg / returning a value are almost free (given that you're
already paying the cost of the call), whereas table lookup requires some
computation...

-Miles

-- 
Absurdity, n. A statement or belief manifestly inconsistent with one's own
opinion.