Optmizations questions

Just starting out? Need help? Post your questions and find answers here.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

One last thing... Could you produce a simple exe from the C and C# code for us to give our times (I ask you as your project is almost finished)? Thank you. Based on these facts, maybe Fred would try your ideas. :)
User avatar
tinman
PureBasic Expert
PureBasic Expert
Posts: 1102
Joined: Sat Apr 26, 2003 4:56 pm
Location: Level 5 of Robot Hell
Contact:

Post by tinman »

PB http://www.david-mcminn.co.uk/files/pb.zip
C/C++ http://www.david-mcminn.co.uk/files/c.zip
C# http://www.david-mcminn.co.uk/files/cs.zip

I made a mistake with the C# stuff, for some reason I wasn't getting a release build earlier (differences in IDE...).

Summary (these are average values over a few runs):

PB 128ms
PB with modded asm as described above 116 ms
C/C++ 40ms
C# 47ms
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)
hellhound66
Enthusiast
Enthusiast
Posts: 119
Joined: Tue Feb 21, 2006 12:37 pm

Post by hellhound66 »

Removed.
Last edited by hellhound66 on Wed Mar 19, 2008 11:38 pm, edited 1 time in total.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Post by djes »

Thank you! Now we have a good comparison test.
kinglestat
Enthusiast
Enthusiast
Posts: 746
Joined: Fri Jul 14, 2006 8:53 pm
Location: Malta
Contact:

Post by kinglestat »

impressive work tinman
I may not help with your coding
Just ask about mental issues!

http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Post Reply