RSS Forums RSS
Please support our Game Development advertiser: Programming Forums
Views: 2161 | Replies: 15
Join Date: Jul 2007
Location: Virginia
Posts: 102
Reputation: TheGathering is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 10
TheGathering's Avatar
TheGathering TheGathering is offline Offline
Junior Poster

Re: Now to the big guns...

  #11  
Jul 30th, 2007
I would've thought Python would be painfully slow for any real games...

I mean, here's an earlier speed test I ran in Java, C, and Python using equivalent calculations for each language:

Python Pi Calculator: 10000000 (10m) iterations

11 seconds using floating point math;
8 seconds using integer math;

Java Pi Calculator: 10000000 (10m) iterations

less than 1 second using integer math;
less than 1 second using floating point math;

~3 seconds @ 100000000 (100m) iterations using integer math
~9 seconds @ 100000000 (100m) iterations using long math

26 seconds @ 1000000000 (1b) iterations using floating point math

C Pi Calculator: 10000000 (10m) iterations

less than 1 second using integer math;
less than 1 second using floating point math;

19 seconds @ 1000000000 (1b) iterations using floating point math




How could performance like that ever be used for 3d games like in C, C++, and Java?
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:07 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC