TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Content-Transfer-Encoding: 7bit
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Jeff Carter <[log in to unmask]>
Date: Mon, 4 Dec 2000 17:06:54 -0600
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Reply-To: Jeff Carter <[log in to unmask]>
Parts/Attachments: text/plain (19 lines)
Jesse Farmer wrote:
> And arrays ARE the fastest form of managing lists of data in Ada right?  As
> opposed to linked lists (which are faster in C)?

If you turn off Ada's run-time checks, both arrays and linked lists
should be just as fast in Ada as in C.

> This is probably the best way to do this isn't it?  Via global arrays?

I don't really know what he's trying to accomplish, so I can't say what
the best way to do it is. If I did say what the best way is, I'm sure
others would disagree. I have never encountered a situation in which
global variables were necessary or the best way to do something.

--
Jeff Carter
"You empty-headed animal-food-trough wiper."
Monty Python & the Holy Grail

ATOM RSS1 RSS2