1. Re: noBisect()
- Posted by Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL> Aug 30, 1998
- 468 views
> So,...., can anyone make a faster routine to calculate line of sight? Assuming a 10x10 grid, the for loop and my program would probably take about the same amount of time (but I haven't checked :)) I'd love to see something in Euphoria that beats it, or I wouldn't mind seeing the speed of an assembly routine. BTW: my routines were tested on a 486DX4/75 w/ 8M RAM. The best optimization is to avoid the time-consuiming things. Why is it exactly (details!) needed to know the line-of-sight ? Maybe, at least there's a few to optimize a bunch of these things with lookup-tables or using areas/sectors with areas/sectors inside, so we can see things as blocks (and therefor dont have to work wiht pixels)