Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the most speed out your program?
#27
In short, this compiler options stuff affects the C/C++ side of things. It's not what changes your QB64 code to be translated differently into C/C++, but only how that translated code is compiled into the final EXE. From that POV I don't think it's something for the Wiki, but rather a dedicated forum thread like this or maybe a new tutorial somebody might write about it.

As for the disappearance of the recent files list (and probably the search history too), that is true for the current public releases of QB64PE. When you change C/C++ Compiler settings, then internal/temp is purged and needs to be rebuild using the new settings.

That's btw the reason why your code is marked as "changed", because it's the only way to force that re-build, the IDE must think "Oh change, let's recompile", otherwise you could just change the settings then press F5 and the IDE would answer you "Already compiled that EXE", it simply wouldn't know you wanna recompile with that changed settings. Remember pre-v3.12.0, before we had automatic "external dependency" checks, when you edited an include file in a 2nd IDE instance and after save and return to the 1st instance you had to do a fake change (insert/remove a space/line etc.) there, because the 1st instance didn't knew about the change you made and refused to recompile it without that fake change? Same with the compiler settings, just those are so to say an "internal dependency" we can trigger by simply setting the "change state".

Now back to the recent list, the purge of internal/temp for whatever reason also killed the recent.bin file there and that's it. However, a couple days ago I've changed the handling of the recent file and search history to use internal buffers and only save that buffers when exiting the IDE, hence whatever happens to these files in internal/temp when changing settings, recompiling etc., it doesn't affect the internal buffers and at exit the disk based files are always cleanly restored with the current buffer contents. So the problem of disappearing recent/search histories is solved with the next release of QB64PE.
Reply


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



Users browsing this thread: 2 Guest(s)