if switch?
- Posted by Mike The Spike <mikethespike2000 at HOTMAIL.COM> Apr 16, 2000
- 388 views
This one goes out to Rob. You say "Euphoria doesn't require a C switch statement" to run code, right? But does it need an 'if' statement? I mean, if you are (wich I think you are) mixing Machine Code and function calls into a single array in memory, and streaming along it calling eigther one, you need a way to know if you have to call Machine Code or an internal function, right? That would require an 'if' statement. I'm doing this stuff myself right now, and have found that the 'if' doesn't realy do anything bad to performance. It's slower, but it's being used to run Machine Code along with internal functions, wich is a good thing : ) Mike The Spike ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com