Page 1 of 1

Speed increase with PB4.2 / WinXP SP3

Posted: Mon Jul 14, 2008 9:59 pm
by BigJack
Hi all,
I was wondering if anybody noticed an increase in speed in the compiled exe after the release of PB4.2 or WinXP SP3? :D
I ran a program which analyses 8000 lines of text and it usually took about 14 sec. to complete. Now, after installing SP3 for WinXP and recompiling my program with PB4.2 it merely takes 8 sec.
(the application for the most part does string comparisons)
What is responsible for this amazing speed enhancement? Does anybody know? Anyways, hats off!
Greetings, Mike

Re: Speed increase with PB4.2 / WinXP SP3

Posted: Mon Jul 14, 2008 10:12 pm
by PB
> I was wondering if anybody noticed an increase in speed in the compiled
> exe after the release of PB4.2 or WinXP SP3?

You need to read the Announcements section of these forums.
From http://www.purebasic.fr/english/viewtopic.php?t=32491 :
Fred wrote:So without further due, here is the changelog:

Code: Select all

23th May 2008 : Version 4.20
- Optimized: Compiler source processing speed (up to 8x faster)

Posted: Mon Jul 14, 2008 10:14 pm
by Comtois
look at history in help file, it is probably this
Optimized: The whole commandset by using a better C compiler (Windows only)

Posted: Mon Jul 14, 2008 10:20 pm
by BigJack
Thanks for the link :lol:
I had read this but maybe I misinterpreted it: I thought the speed enhancement was refering to "source code processing" only. I suppose this applies to the final exe as well?

Posted: Mon Jul 14, 2008 10:29 pm
by PB
> I thought the speed enhancement was refering to "source code processing"

Oh, I see what you mean now (I mistook your comment of "I tested a
program which analyses 8000 lines of code" as meaning compile time).

Um, I don't know. I haven't noticed any speed increases, but yeah, there
probably is due to the new C compiler used. SP3 probably does help too.

Posted: Mon Jul 14, 2008 10:51 pm
by Comtois