I'm confused.... Wouldn't you be doing more work there? I'm a beginner, so please enlighten me on why having a function with three bit.band calls (referencing another function) be better. I thought lua was very efficient with table lookups?
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh
|