Re: lazy exits
- Posted by Einar Mogen <nord.staernes at ROLLAG.MAIL.TELIA.COM> Sep 15, 1997
- 894 views
Jaques (> Jiri) wrote: > > > >Is it just me, a grumpy old man? I get really annoyed when I see an otherwise > > nice piece > >of graphics spoilt by a lazy exit: no proper return to the original, usually > > text mode. > >Please! Jiri > > > I share your filling Jiri, maybe I'm a grumpy middle age man. > My thoughts exactly. I hate it when the screen is looking like judgement day after the exit of a program. BTW, I'm not sure what our age differences are here, but I guess that would make me a grumpy hotshot rookie. :) Then, I discovered something about speed last night. This could be old news for all you, but of these two "if's": if ... and ... and ... and ... then <...> end if if ... then if ... then if ... then if ... then <...> end if end if end if end if -the last one is the fastest. Shouldn't Euphoria just skip the rest of an "if ... and" line if the first part checks false? It seems to me that all parts of an "if ... and ... and" line is checked each time, which did result in a slowdown in my game. Well, just some badly formulated thoughts. Do the rest of you know of other "trivial things" which could have a major impact on speed? Einar Mogen