Article View: comp.sys.amiga.tech
Article #13118Re: Help! GetDiskObject()
From: Larry Phillips
Date: Wed, 13 Dec 1989 23:52
Date: Wed, 13 Dec 1989 23:52
42 lines
2666 bytes
2666 bytes
In <864@tardis.Tymnet.COM>, jms@tardis.Tymnet.COM (Joe Smith) writes:
>In article <891@lpami.wimsey.bc.ca> lphillips@lpami.wimsey.bc.ca (Larry Phillips) writes:
>>In <8886@cbmvax.UUCP>, mks@cbmvax.UUCP (Michael Sinz - CATS) writes:
>>>Wrong... The .info file is a list of icons in the directory that workbench
>>>uses to load the icons more quicly. (Does not need to scan the directory)
>>>This is done via file dates... A .info file is created whenever you open
>>>a disk/drawer. (Assuming there is space and the disk is not write-protected)
>>
>>It does? Not not my system. I want either whatever you're smoking, or whatever
>>OS rev you're running. :-)
>
>Larry, your stopwatch must not be working right. :-)
>
>I created 60 files in the root of a floppy, only 6 were *.info files. It
>took Workbench 25.7 seconds to look at all 60 files, determine which ones
>were icons, and display their images the first time through. I ejected the
>floppy (to flush out any cached info), re-inserted and double click on its
>icon. This time it took only 6.1 seconds for Workbench to display all the
>icons, since it used the list in the .info file and did not have to read the
>File Info Blocks of all the non-icon files. It was consistant - 6 seconds
>instead 25 as long as the .info file was up to date.
Yup... you are right.. funny, but the last time I looked at this was a few
years ago, and it seemed that it made no difference at all. I was probably
thinking of the total directory time, which remains constant, and of course
very noticable because the snoozing cloud keeps reminding you that the WB is
single-threaded.
I also received an email reply from Michael Sinz, correcting me as well. In
response to that, about all I have to say is that I _never_ put a smiley face
on a flame.
-larry
--
" All I ask of my body is that it carry around my head."
- Thomas Alva Edison -
+-----------------------------------------------------------------------+
| // Larry Phillips |
| \X/ lphillips@lpami.wimsey.bc.ca -or- uunet!van-bc!lpami!lphillips |
| COMPUSERVE: 76703,4322 -or- 76703.4322@compuserve.com |
+-----------------------------------------------------------------------+
Technical Details
Message-ID:
<906@lpami.wimsey.bc.ca>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!van-bc!Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!van-bc! From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga.tech Subject: Re: Help! GetDiskObject() Message-ID: <906@lpami.wimsey.bc.ca> Date: 13 Dec 89 23:52:19 GMT Lines: 42 Return-Path: <lpami!lphillips> To: van-bc!rnews