Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the most speed out your program?
#14
(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
There's a section in the "Using the IDE" side lesson in the tutorial called "Options Menu: Compiler Settings" that explains the compiler settings:

https://www.qb64tutorial.com/lessonide
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
RE: How to get the most speed out your program? - by TerryRitchie - 07-02-2024, 10:04 PM



Users browsing this thread: 10 Guest(s)