[haiku-bugs] Re: [Haiku] #15370: [HaikuDepot] Load and Unload Icons On Demand

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 04 Apr 2020 11:36:52 -0000

#15370: [HaikuDepot] Load and Unload Icons On Demand
---------------------------------------+----------------------------
   Reporter:  apl-haiku                |      Owner:  stippi
       Type:  enhancement              |     Status:  new
   Priority:  normal                   |  Milestone:  Unscheduled
  Component:  Applications/HaikuDepot  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:
Has a Patch:  0                        |   Platform:  All
---------------------------------------+----------------------------
Comment (by pulkomandy):

 In addition to that, the icons are currently extracted each as a single
 file, which wastes a lot of disk space (at least an inode and a data block
 must be allocated for each file, and HVIF icons are very small files so
 they will typically not fill one full block of disk data).

 I would consider a different storage format for the cache. Maybe an
 archived BMessage? We could more efficiently store the data as key/value
 pairs there (key being the package name, and value the hvif icon data).
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15370#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: