
01-14-2004, 11:00 AM
|
|
Bowie's Deciple
|
 |
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
|
|
|
I might be a little late in asking this, but how exactly Loriel's tokenize convention more efficient?
it would seem to me that requesting a string to be searched through and broken down and then assigned to 2 seperate parts of an array wouldnt be as efficient at all.
if (walking == 0)
setani idle;
else
setani walk;
what is less efficient about the old way? It does one check.
even if you wanted to be crafty why not..
setstring blah,idle,walk;
setani #I(blah,walking);
although in terms of efficiency it seems equivilent to me. ::shrugs::
The tokenize idea is crazy and unique, but please explain why it is better. |
__________________
|
|
|
|