07-02-2024, 07:51 PM
Dang it! why does that Option clear all my recent files in the File Menu ???
Warning!!!
b = b + ...
How to get the most speed out your program?
|
07-02-2024, 07:51 PM
Dang it! why does that Option clear all my recent files in the File Menu ???
Warning!!!
b = b + ...
07-02-2024, 08:16 PM
(07-02-2024, 07:34 PM)bplus Wrote:I wrote a keyboard input routine in C/C++ once many years ago. It was like pulling teeth to get any help on C/C++ forums, as almost every "expert" stated to just use a pre-built key input lib. I finally got just the couple of questions I needed answered, and successfully completed the project. Obviously despite that success, I didn't bother to continue learning about the language. Now, it too seems to be going the way of the dinosaur.(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? Thanks for the IDE compiler optimization info. I was thinking it might take adding switches while doing a manual compilation. +1 for that, but I'm sorry it cost you losing your recent file list. That should be reported as a probably bug. My recent files are invaluable... Of course the list is just a single line of text that spells out, "Same crap you code all the time, Pete." Pete
07-02-2024, 09:25 PM
With Quick Basic, and especially with QuickC programs, it actually made sense to compile them from the command line.
It didn't always work, but with some programs the EXE file was 1/3 smaller. That made sense back then, but not anymore. To compile from the command line you had to enter the appropriate commands/switches in the autoexec.bat. For example: Code: (Select All)
07-02-2024, 10:04 PM
(07-02-2024, 06:45 PM)Pete Wrote:There's a section in the "Using the IDE" side lesson in the tutorial called "Options Menu: Compiler Settings" that explains the compiler settings:(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? https://www.qb64tutorial.com/lessonide
07-02-2024, 11:21 PM
(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? The only real thing you need to know is how to click that first check box and then compile.
yeah and do that before you start running up recent files ;-))
Update: yep, just lost the couple of Recent files I had accumulated when I checked that box and unchecked the 2nd. AGAIN WARNING!!!
b = b + ...
07-02-2024, 11:40 PM
" The only real thing you need to know is how to click that first check box and then compile. "
Okay, so how do I check the box??? BTW - I don't have a mouse, but I do have a hamster named Dave. Pete
07-02-2024, 11:53 PM
07-03-2024, 12:55 AM
Quote:BTW - I don't have a mouse, but I do have a hamster named Dave.
b = b + ...
07-03-2024, 01:33 AM
LOL - My hamster wheel keeps on turning!!!
Also, I love it how Steve always takes my bits literally... TAB... TAB... TAB... Luckily since Dave's not here, I have Kate to fall back on. She's a Tabby cat! Pete |
« Next Oldest | Next Newest »
|