comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com (Tom Moran)
Subject: Re: 'others' - inefficient esp. DEC Ada? [1/1]
Date: 1997/10/13
Date: 1997-10-13T00:00:00+00:00	[thread overview]
Message-ID: <344168c5.21239761@SantaClara01.news.InterNex.Net> (raw)
In-Reply-To: +3g7rFB7dIQ0EwNI@RK-COMP.DEMON.CO.UK


Testing your sample with two Ada 95 compilers on a Pentium 60, one of
them takes roughly twice as long for the "others" as for the loop and
the other compiler takes the same time either way (and looking at the
generated code, it's pretty nearly the same loop in both cases).  
  Why does copying 160*354 =56,640 bytes need a 3MB task stack?
  On my P60 a single copy takes a couple of milliseconds.  If your
program performs such large copies so often that the time matters,
perhaps this should be viewed as  a golden opportunity to recode such
foolishness.
  It certainly would be nice if each compiler came with a crib sheet
showing what it does especially well or poorly, instead of each
programmer having to discover for himself (usually painfully).  Does
the standard Ada benchmark suite (whose name escapes me at the moment)
include an others/loop timing test?




  reply	other threads:[~1997-10-13  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-12  0:00 'others' - inefficient esp. DEC Ada? [1/1] Rob Kirkbride
1997-10-13  0:00 ` Tom Moran [this message]
1997-10-12  0:00   ` Michael & Amy Hartsough
1997-10-13  0:00   ` Rob Kirkbride
1997-10-14  0:00 ` Jeff Creem
1997-10-15  0:00 ` Matthew Heaney
replies disabled

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