comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dale@goanna.cs.rmit.EDU.AU>
Subject: Most efficient way to check for null string?
Date: 1997/06/20
Date: 1997-06-20T00:00:00+00:00	[thread overview]
Message-ID: <5oe038$2d0$1@goanna.cs.rmit.edu.au> (raw)


I think the following are both equally readable, so which is likely 
to be more efficient?

	if Str = "" then
	
	if Str'Length = 0 then


Dale




             reply	other threads:[~1997-06-20  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-20  0:00 Dale Stanbrough [this message]
1997-06-20  0:00 ` Most efficient way to check for null string? Robert A Duff
1997-06-20  0:00   ` Robert Dewar
1997-06-20  0:00 ` Tucker Taft
1997-06-21  0:00   ` Robert A Duff
1997-06-21  0:00     ` Robert Dewar
1997-06-23  0:00       ` Richard Kenner
1997-06-23  0:00       ` Tucker Taft
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox