Re: Exotica & crash
- Posted by Todd Riggins <triggins at AIRMAIL.NET> Sep 27, 1999
- 425 views
Lewis Townsend wrote: > > Hello, > > > > >Currently, Exotica doesn't like that sort of > > > >thing. I'll slap Exotica around and make it > >like it in the next > >version. > > > > > > This will make the routine slower so I have a > suggestion: > > > include global integer into your .ew file which > will choose from safe > >and unsafe modes. > > > Safe (default?) = you can't crash > > > Unsafe = Fast routines. > > > User could then use Safe to test and Unsafe after > this when having > >need for speed > > Wait, if a graphics library clips pixels that are off > the screen... Is that going to be slower than a program > that performs checks and only draws pixels to the right > locations using an "fast" library? How is clipping any > slower than those pre-draw checks? They both do basically > the same thing, right? Why the speed difference? Sorry if you got this the second time Lewis, I thought I replied to this message this morning, but I don't see my reply here on the list, so I will do it again. The only way it will be slower is that if I include a clipper for my PUT_PIXEL routine to make sure you can't draw off the screen and then someone else makes his own clipper routine not being aware that the libray already does it. Then there would be two clippers going. The speed difference probably wouldn't be much comparing the two methods. Anywayz, I've decided not to include it for the PUT_PIXEL routine and just let the programmer handle it. I just need to update the Docs to warn about drawing a pixel off the screen which will most likely freeze up one's computer. - Todd Riggins