home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / advocacy / 11752 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  2.1 KB

  1. Xref: sparky comp.os.os2.advocacy:11752 comp.os.os2.apps:9910 comp.os.os2.misc:41377
  2. Path: sparky!uunet!mcsun!sunic!isgate!krafla!karlth
  3. From: karlth@rhi.hi.is (Karl Thoroddsen)
  4. Newsgroups: comp.os.os2.advocacy,comp.os.os2.apps,comp.os.os2.misc
  5. Subject: Re: Better File Management??
  6. Message-ID: <5897@krafla.rhi.hi.is>
  7. Date: 6 Jan 93 13:17:28 GMT
  8. 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>
  9. Sender: usenet@rhi.hi.is
  10. Followup-To: comp.os.os2.advocacy
  11. Lines: 34
  12. Nntp-Posting-Host: hengill.rhi.hi.is
  13.  
  14. In <1993Jan5.202900.28196@njitgw.njit.edu> dic5340@hertz.njit.edu (David Charlap) writes:
  15.  
  16. >In article <1993Jan1.213044.268@grebyn.com> mfraioli@grebyn.com (Marc Fraioli) writes:
  17. >>
  18. >>Does this mean that they have sped up the time it takes for the icons to
  19. >>be drawn when you open a window?  This has always bugged me.
  20.  
  21. >The problem isn't in the icon draw time, but in the icon load time.
  22. >After having written some code using bitmaps and icons, I can safely
  23. >say that the speed to draw them is very very fast - faster than
  24. >Windows 3.1, for that matter.  The problem with WPS is that it has to
  25. >load the icons from each file in a folder.  This loading is what eats
  26. >time.  I'm sure there's room for optimizing here, but it's more
  27. >closely related to the speed to fetch EA's and resources out of files
  28. >than to the speed of painting (which is, after all, related to the
  29. >video driver).
  30.  
  31. Right.
  32.  
  33. I've written a Win 3.1 shell (entering BETA next month) and according
  34. to my experience the slowness is caused by the time it takes to extract
  35. an icon from a file.  This can optimized dramatically by using the following
  36. two methods:  
  37.         1) When a folder is opened only the visible icons are extracted.
  38.           2) Cache the icon bitmaps.
  39.  
  40. The time it takes to draw the icon is negligible, if the icon data is present 
  41. in memory. 
  42.  
  43.  
  44. -- 
  45.  
  46. \ Internet: karlth@rhi.hi.is             \ Karl Thoroddsen University Of Iceland
  47.  \ Respect...            , Peter Ustinov  \ Department Of Computer Science
  48.