Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the most speed out your program?
#2
Memfill should be faster when using _BYTE. Years ago someone pointed out the difference in how QB64 handles that versus other variable types years ago and suggested that performance could be improved overall.

Variable type matters. When possible, INTEGER and LONG should be faster than SINGLE, for example. 

Time can also be saved by not putting code in a SUB or FUNCTION.  This is a hassle when it's time to make changes, so in the future I'll probably use precompiler commands to switch between methods.
Reply


Messages In This Thread
RE: How to get the most speed out your program? - by Gets - 06-30-2024, 05:28 PM



Users browsing this thread: 14 Guest(s)