Last visit was: It is currently Sat Sep 23, 2023 1:58 pm


All times are UTC-05:00




Post new topic Reply to topic  [21 posts ] 
Author Message
 Post subject:
PostPosted:Wed Jul 12, 2006 12:46 am 
Literally Nine
User avatar
 

Joined:Tue Mar 01, 2005 9:00 am
Posts:1263
Quote:
Quote:
maybe thats the reason darwinia is so slow too (a t least last time i tried it)
It's likely.
It's not.


Top
Offline  
 Post subject:
PostPosted:Wed Jul 12, 2006 1:52 am 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Quote:
Quote:
Quote:
maybe thats the reason darwinia is so slow too (a t least last time i tried it)
It's likely.
It's not.
Poor optimization? I'd say so. We both know that Introversion is stupid when it comes to code optimization.


Top
Offline  
 Post subject:
PostPosted:Wed Jul 12, 2006 1:53 pm 
User avatar
 

Joined:Mon Mar 07, 2005 9:32 am
Posts:600
Location:localhost
Hmm... I was always taught that recursion was a good thing. Then again, I'm talking about VB...

_________________
BAZINGA.


Top
Offline  
 Post subject:
PostPosted:Thu Jul 13, 2006 11:39 am 
Connoisseur of the Godawful
User avatar
 

Joined:Tue Mar 01, 2005 9:00 am
Posts:456
ICQ:286315965
Website:http://rabidtinker.mine.nu/
Yahoo Messenger:alistair_lynn
AOL:Agent_Vast@mac.com
Location:127.0.0.1
Quote:
Quote:
Code:
#include <iostream> using namespace std; int main ( int argc, char** argv ) { static int num = 0; cout << num << endl; num++; main ( argc, argv ); }
Recursion for the win!
BAD idea. Do you realize that one of the main reasons Chris Delay's BTree is so slow is due to using recursion? The reason is that it keeps filling the call stack with more and more function calls. Eventually, you get a call stack overflow. NEVER use recursion. EVER.
Yes, I know that would result in a call stack fault. I just felt like borking things up a bit.

_________________
Alastair Lynn / Alumnus / Onlink Team


Top
Offline  
 Post subject:
PostPosted:Fri Jul 14, 2006 12:06 am 
Literally Nine
User avatar
 

Joined:Tue Mar 01, 2005 9:00 am
Posts:1263
Quote:
Quote:
Quote:
It's likely.
It's not.
Poor optimization? I'd say so. We both know that Introversion is stupid when it comes to code optimization.
I was refering to recursion.


Top
Offline  
 Post subject:
PostPosted:Sat Jul 15, 2006 7:45 pm 
Literally Nine
User avatar
 

Joined:Sat Apr 02, 2005 3:31 pm
Posts:1171
Location:The vicinity of an area adjacent to a location.
Quote:
I was refering to recursion.
In that case, you're probably correct. I would doubt IV had learned nothing from their mistakes.


Top
Offline  
Display posts from previous: Sort by 
Post new topic Reply to topic

All times are UTC-05:00


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created by Miah with assistance from hyprnova