comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <warren@ve3wwg.tk>
Subject: Re: GUI was Re: why Ada is so unpopular ?
Date: Fri, 23 Jan 2004 12:55:21 -0500
Date: 2004-01-23T12:55:21-05:00	[thread overview]
Message-ID: <pddQb.20049$cQ6.823649@news20.bellglobal.com> (raw)
In-Reply-To: <mailman.20.1074798219.281.comp.lang.ada@ada-france.org>

amado.alves wrote:

> <<...this doesn't work very well when you drop
> into a directory with thousands of files. A smart tree widget
> might just peruse "directory portions", where the tree widget
> is visible (perhaps a less than trivial exercise). But I suspect
> they take the easy way out, and require all entries to be loaded
> in to the widget's dynamic memory...>>
> 
> A solution to this is to have and use standard iterator signatures, defined e.g. as formal packages descendants of Ada.Containers. (As an iterator is clearly an item of container design, iterator signatures belong there.)

(BTW, you need to word wrap your responses. When not wrapped
to a reasonable line length, they are difficult to read and
edit).

There are several implementations that can address the performance
issue when it comes to the widget. I am not so easily convinced
that this is possible for a container of "entries". Unless the
O/S can tell you without an exhaustive search of the directory,
how many "entries" you have, some of that same overhead is
still there (memory is excluded, but the reading + counting
of directory entries is still there).

So I don't disagree on theoretical grounds, but in practice
I don't think this would work well.
-- 
Warren W. Gay VE3WWG
http://ve3wwg.tk




  reply	other threads:[~2004-01-23 17:55 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-22 19:03 GUI was Re: why Ada is so unpopular ? amado.alves
2004-01-23 17:55 ` Warren W. Gay VE3WWG [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-21 18:15 amado.alves
2004-01-21 15:42 amado.alves
2004-01-21 19:22 ` Randy Brukardt
2004-01-22 13:42   ` Marin David Condic
2004-01-22 17:48     ` Warren W. Gay VE3WWG
2004-01-22 19:30       ` Jeffrey Carter
2004-01-23 17:37         ` Warren W. Gay VE3WWG
2004-01-23 13:34       ` Marin David Condic
2004-01-23 17:50         ` Warren W. Gay VE3WWG
2004-01-23 19:20           ` Hyman Rosen
2004-01-24  6:26             ` Robert I. Eachus
2004-01-24  9:37             ` Georg Bauhaus
2004-01-22 19:33     ` Randy Brukardt
2004-01-23 13:38       ` Marin David Condic
2004-01-22 13:26 ` Marin David Condic
2004-01-20 17:55 Robert C. Leif
2004-01-20 18:58 ` Georg Bauhaus
2004-01-20 14:16 amado.alves
2004-01-21 13:22 ` Marin David Condic
2004-01-21 17:28   ` Jeffrey Carter
2004-01-20  4:06 Robert C. Leif
2004-01-20  7:39 ` Preben Randhol
2004-01-20 10:40   ` Georg Bauhaus
2004-01-20 10:59     ` Preben Randhol
2004-01-20 19:42       ` Randy Brukardt
2004-01-20 20:12         ` tmoran
2004-01-21 13:01           ` Marin David Condic
2004-01-21 18:05             ` tmoran
2004-01-21 12:52         ` Marin David Condic
2004-01-20 13:22 ` Marin David Condic
2004-01-20 17:41   ` Warren W. Gay VE3WWG
2004-01-19  4:11     ` Mark Lorenzen
replies disabled

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