Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!aplcen!samsung!brutus.cs.uiuc.edu!jarthur!bridge2!3comvax!tymix!tardis!jms From: jms@tardis.Tymnet.COM (Joe Smith) Newsgroups: comp.sys.amiga.tech Subject: Re: Help! GetDiskObject() Summary: The .info file does save time. Message-ID: <864@tardis.Tymnet.COM> Date: 11 Dec 89 03:55:25 GMT References: <891@lpami.wimsey.bc.ca> Reply-To: jms@tardis.Tymnet.COM (Joe Smith) Organization: BT Tymnet, San Jose, CA Lines: 25 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. -- Joe Smith (408)922-6220 | SMTP: JMS@F74.TYMNET.COM or jms@gemini.tymnet.com BT Tymnet Tech Services | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms PO Box 49019, MS-D21 | PDP-10 support: My car's license plate is "POPJ P," San Jose, CA 95161-9019 | humorous dislaimer: "My Amiga speaks for me."