The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Faster Square Roots
#9
britlion Wrote:Well, apparently, digging into the Tobos compiler looks like it might be fruitful for fast floating point routines - though they will eat space in RAM, yes.

The flag is a good idea.

How about something like -Opt-Size and -Opt-Speed to let the compiler choose the smallest or the fastest code available for functions?

Circle and draw could probably go the same way, for starters.
Hmmm. CIRCLE I think is already fast enough (it uses bresenham's integer sums) Tongue Regarding to DRAW, it also uses Bresenham's integer algoritm, but, I have a faster DRAW in mind; however it will take even more memory. I use ROM's plot subroutine
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)