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:37:54 -0500
Date: 2004-01-23T12:37:54-05:00	[thread overview]
Message-ID: <2ZcQb.20032$cQ6.820773@news20.bellglobal.com> (raw)
In-Reply-To: <lxVPb.23452$zj7.20172@newsread1.news.pas.earthlink.net>

Jeffrey Carter wrote:

> Warren W. Gay VE3WWG wrote:
>> Marin David Condic wrote:
>>> Wait a minute. Aren't directories usually considered to be some kind 
>>> of tree structure? Doesn't MSVC++ and the MFC supply some kind of 
>>> tree widget for displaying things like directories? Seems like every 
>>> time I pop up a directory on Windows, I see something that looks very 
>>> reminiscent of a tree and one that looks surprisingly like the one I 
>>> seem to recall was in the MFC. Maybe I'm wrong, but it looks to me 
>>> like Microsoft might just be keeping some kind of tree data structure 
>>> in place for handling directories. Not that the fact that Microsoft 
>>> does something necessarily makes a recomendation for doing the same - 
>>> but it would seem like it might not be all that painful for some apps.
>>
>> You're right, but 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. Otherwise performance in large
>> directory cases would not be so abysmal.
> 
> The Windows directory tree only shows directories; the thousands of 
> files are not part of the tree. This helps reduce the size of the tree. 
> The thousands of files are shown in the other pane of the window; as you 
> note, it can take a long time to display all the files in a directory 
> with many files.

What guarantee do you have that you will not have thousands of
directories? There is no such guarantee, although you might
find it more rare in practice ;-)

-- 
Warren W. Gay VE3WWG
http://ve3wwg.tk




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

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-21 15:42 GUI was Re: why Ada is so unpopular ? 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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2004-01-22 19:03 amado.alves
2004-01-23 17:55 ` Warren W. Gay VE3WWG
2004-01-21 18:15 amado.alves
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