Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the most speed out your program?
#15
(07-02-2024, 07:34 PM)bplus Wrote:
(07-02-2024, 06:45 PM)Pete Wrote:
(07-02-2024, 06:38 PM)a740g Wrote: Compile the final executable with optimizations enabled. That alone should give a 2x - 4x (probably more) performance uplift.
Custom compilation was a method in QuickBASIC, too. For instance if you didn't send anything to the printer, omit the printer subroutine. I still remember the most common optimization switches I used: OSEX. Gee, I wonder how that one got committed to memory? 

Anyway, could you share an example or Wiki link as to how to accomplish this in QB64?

Pete

IDE Menu Options > Compiler Settings


Looks like you need to know some C++


brought to you by know-tube

The only real thing you need to know is how to click that first check box and then compile.  Tongue
Reply


Messages In This Thread
RE: How to get the most speed out your program? - by SMcNeill - 07-02-2024, 11:21 PM



Users browsing this thread: 16 Guest(s)