
09-21-2003, 03:45 AM
|
|
Registered User
|
Join Date: Jul 2003
Location: Pennsylvania
Posts: 368
|
|
|
So, you admit, you just aren't adding three ifs, you are adding other things. And these "ranges" how would you define them?
As for the length of the script, no, I think it is a lot more efficient to say "where is it located?" than several "is it this? No? Well is it that?"
indexof may start to be a less efficient piece of code when used 10000 times; but, from what I have seen of differences in efficiency at this level of iteration, I doubt that it's going to be a problem. |
|
|
|