It's not just about performance, it's also about readability. Also, simply
because CPU cycles are cheap doesn't mean we have to abuse them.


-Andreas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Max Nilson
Sent: Monday, 3 March 2003 13:59
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Freeing Stringlists.


> I agree. The use of assigned() is totally unnecessary in that context.

Um, guys, your arguing over the difference between perhaps 100 CPU cycles,
vs 200 CPU cycles. On modern machines you're not going to be able to measure
this difference at user time resolution (that is in seconds).

Cheers, Max.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to