Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Value of FastPlot library
#2
(01-28-2021, 06:39 PM)patters Wrote: Is the FastPlot library really going to be faster than a compiled PLOT instruction? Since you've optimised your own PRINT implementation, I would assume that PLOT and DRAW compile to pretty lean machine code do they not? I did some very basic testing comparison of filling using DRAW commands versus looping through FastPlots instead and it seemed roughly the same. Is it perhaps that some libraries are old, and now the compiler is as good with native commands in terms of performance?

PLOT, DRAW and CIRCLE are no longer ROM ones. They're definitely much faster.
Not sure where did you get "FastPlot" from, because many people have contributed their own libraries, etc.

On the contrary, PRINT is almost as slow as the ROM, because it tries to mimic all the behaviour. If you need "fast sprites", use Putchar (it's not in the library, but it's in the Wiki). I'm trying to optimize it, but it's hard without dropping compatibility or extended features (BOLD, ITALIC, OVER 2 and OVER 3).
Reply


Messages In This Thread
Value of FastPlot library - by patters - 01-28-2021, 06:39 PM
RE: Value of FastPlot library - by boriel - 01-28-2021, 09:28 PM
RE: Value of FastPlot library - by patters - 01-28-2021, 10:43 PM
RE: Value of FastPlot library - by boriel - 01-28-2021, 11:46 PM
RE: Value of FastPlot library - by patters - 01-29-2021, 12:38 AM
RE: Value of FastPlot library - by boriel - 01-29-2021, 08:33 AM
RE: Value of FastPlot library - by patters - 02-01-2021, 05:18 PM
RE: Value of FastPlot library - by boriel - 02-01-2021, 08:22 PM
RE: Value of FastPlot library - by boriel - 02-01-2021, 08:32 PM
RE: Value of FastPlot library - by patters - 02-01-2021, 10:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)