home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.advocacy:11752 comp.os.os2.apps:9910 comp.os.os2.misc:41377
- Path: sparky!uunet!mcsun!sunic!isgate!krafla!karlth
- From: karlth@rhi.hi.is (Karl Thoroddsen)
- Newsgroups: comp.os.os2.advocacy,comp.os.os2.apps,comp.os.os2.misc
- Subject: Re: Better File Management??
- Message-ID: <5897@krafla.rhi.hi.is>
- Date: 6 Jan 93 13:17:28 GMT
- References: <1992Dec31.185639.29060@ultb.isc.rit.edu> <1992Dec31.210300.11314@actrix.gen.nz> <1993Jan1.213044.268@grebyn.com> <1993Jan5.202900.28196@njitgw.njit.edu>
- Sender: usenet@rhi.hi.is
- Followup-To: comp.os.os2.advocacy
- Lines: 34
- Nntp-Posting-Host: hengill.rhi.hi.is
-
- In <1993Jan5.202900.28196@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:
-
- >In article <1993Jan1.213044.268@grebyn.com> mfraioli@grebyn.com (Marc Fraioli) writes:
- >>
- >>Does this mean that they have sped up the time it takes for the icons to
- >>be drawn when you open a window? This has always bugged me.
-
- >The problem isn't in the icon draw time, but in the icon load time.
- >After having written some code using bitmaps and icons, I can safely
- >say that the speed to draw them is very very fast - faster than
- >Windows 3.1, for that matter. The problem with WPS is that it has to
- >load the icons from each file in a folder. This loading is what eats
- >time. I'm sure there's room for optimizing here, but it's more
- >closely related to the speed to fetch EA's and resources out of files
- >than to the speed of painting (which is, after all, related to the
- >video driver).
-
- Right.
-
- I've written a Win 3.1 shell (entering BETA next month) and according
- to my experience the slowness is caused by the time it takes to extract
- an icon from a file. This can optimized dramatically by using the following
- two methods:
- 1) When a folder is opened only the visible icons are extracted.
- 2) Cache the icon bitmaps.
-
- The time it takes to draw the icon is negligible, if the icon data is present
- in memory.
-
-
- --
-
- \ Internet: karlth@rhi.hi.is \ Karl Thoroddsen University Of Iceland
- \ Respect... , Peter Ustinov \ Department Of Computer Science
-