Mail Archives: djgpp/2000/06/30/18:39:07
Message-ID: | <008f01bfe2e4$79c15f00$0500007b@brk>
|
From: | "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Re: How about bracket matching???
|
Date: | Sat, 1 Jul 2000 00:42:23 +0200
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.72.3110.1
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3
|
Reply-To: | djgpp AT delorie DOT com
|
>>> in my opinion if you have 10 nested loops, etc,
>>> you need to break your program down a little in to
>>> functions... =)
>>
>>that is not always an option - if you want to
>>write databases only - ok but if you into some
>>heavy dsp - at times it pays not to use
>>overhead of method calling (esp if it is not
>>common to any other classes/methods)
If you're writing a DB, you should really consider making it
use recursive functions. That's what C is all about. "Reusability".
Heavy stuff? 10 levels?? If it is time critical, you should instead
start think in the way of making the game/program less complex...
CYA
- Raw text -