Speed increase with PB4.2 / WinXP SP3

Just starting out? Need help? Post your questions and find answers here.
BigJack
User
User
Posts: 76
Joined: Tue May 16, 2006 6:46 am
Location: Germany
Contact:

Speed increase with PB4.2 / WinXP SP3

Post 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
Last edited by BigJack on Mon Jul 14, 2008 10:43 pm, edited 3 times in total.
Greetings to all the folks back home in the States...
PB4.2 Windows XP SP3
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Speed increase with PB4.2 / WinXP SP3

Post 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)
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

look at history in help file, it is probably this
Optimized: The whole commandset by using a better C compiler (Windows only)
Please correct my english
http://purebasic.developpez.com/
BigJack
User
User
Posts: 76
Joined: Tue May 16, 2006 6:46 am
Location: Germany
Contact:

Post 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?
Greetings to all the folks back home in the States...
PB4.2 Windows XP SP3
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post 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.
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Post by Comtois »

Please correct my english
http://purebasic.developpez.com/
Post Reply