comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Tasking and wxWidgets
Date: Tue, 29 Nov 2005 21:38:44 +0000
Date: 2005-11-29T21:38:44+00:00	[thread overview]
Message-ID: <m2d5kjxhgb.fsf@grendel.local> (raw)
In-Reply-To: 1133174279.467011.197600@g47g2000cwa.googlegroups.com

"Lucretia" <lucretia9@lycos.co.uk> writes:

>> What would be acceptable? Using a Lock from the Booch �components
>> (http://booch95.sourceforge.net) takes just under 20 us on a 1.5GHz
>> Powerbook.
>
> I really doubt that the Booch components are written any differently
> to mine. So, why would I need to?

You thought that there might be a performance problem using locks. It
seemed to me that you might be just being apprehensive without having
any real evidence, and I produced a data point that showed that a
particular implementation has a particular performance and asked
whether that would be acceptable or not given your scenario.

Of course your locks will be programmed in standard Ada, so their
performance will likely be similar to the BCs. Whether you choose to
use the BCs or not is entirely a matter for you. Whether you can
afford to use locks at all depends on your chosen implementation's
performance * the invocation rate. Might need to be quite clever about
where the locks are applied .. 20 us isn't that fast, after all.



      reply	other threads:[~2005-11-29 21:38 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25 10:05 Tasking and wxWidgets Lucretia
2005-11-25 10:53 ` Martin Dowie
2005-11-26 17:32   ` Lucretia
2005-11-26 18:23     ` Martin Dowie
2005-11-29  3:07       ` Randy Brukardt
2005-11-29  9:13         ` Martin Dowie
2005-11-29 21:46           ` Randy Brukardt
2005-11-29 22:46             ` Martin Dowie
2005-11-25 11:37 ` Dmitry A. Kazakov
2005-11-26 17:26   ` Lucretia
2005-11-27 11:15     ` Dmitry A. Kazakov
2005-11-28 10:48       ` Lucretia
2005-11-28 14:41         ` Dmitry A. Kazakov
2005-11-26 17:26   ` Lucretia
2005-11-26 17:28   ` Lucretia
2005-11-26 17:34   ` Lucretia
2005-11-26  7:46 ` Simon Wright
2005-11-28 10:37   ` Lucretia
2005-11-29 21:38     ` Simon Wright [this message]
replies disabled

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