Thread: Efficiency!
View Single Post
  #10  
Old 01-07-2007, 05:24 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Thus the major thing I've been wondering about. I was thinking cases would be similar to checking an array for a match since it's only comparing the case "blah": line. I think it would be very close in terms of efficiency. You could argue that once a match is found serverside, it has to go through all cases below it but does it actually process cases since it has found it's match already?

Also, my method doesn't send incorrect commands serverside . Kuji would need another .index() for this thus less efficiency clientside .
Reply With Quote