Re: widget for directory view



On Jul 24, 2005, at 2:10 PM, Gábor Szabó wrote:

Now my main question is how do I code it if I cannot read the whole directory tree into memory at once.
One solution i've seen for this is to use dummy children for unloaded  
nodes.  When you go to populate them for real, replace the dummy with  
real data.
I believe that windows explorer does this, too -- if you've ever  
noticed that the "+" on an empty directory goes away after you try to  
open it; that suggests that it doesn't actually check that  
directory's children until you try to show them.
--
In some newer operating systems, time_t has been widened to 64 bits. In the negative direction, this goes back more than twenty times the age of the universe, and so suffices. In the positive direction, whether this range is sufficient to represent all possible times depends on the ultimate fate of the universe, but it can be expected to postpone overflow long enough for such implementation limits to be abolished.
  -- Wikipedia, on UNIX time.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]