[haiku-bugs] Re: [Haiku] #16787: Bibliotheken Handhabung

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 05 Feb 2021 10:23:07 -0000

#16787: Bibliotheken Handhabung
--------------------------+---------------------------------
  Reporter:  lelldorin    |      Owner:  nobody
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  Unscheduled
 Component:  - General    |    Version:  R1/beta2
Resolution:               |   Keywords:  Libraried, handling
Blocked By:               |   Blocking:
  Platform:  All          |
--------------------------+---------------------------------
Comment (by pulkomandy):

package can mounted instantly and can be read on demand (it can't be
 done for merged directories because directory list can potentially
 consists of many packages so all package contents must be traversed). Only
 total package name list should be stored globally that is fast and don't
 require a lot of RAM.

 But on the other hand you will have a thousand copies of the Haiku package
 files in different places. And a hundred copies of all Qt for each Qt app,
 each Qt lib, etc).

 I don't understand how "read on demand" would work. Maybe for access by
 path, but Deskbar will access all your apps to get their icons, so already
 all your app packages are mounted when you open the deskbar menu. And if
 you do a query in packagefs (for example if you use the "open with" menu),
 you need to load everything in the filesystem anyway.

 Also it will cause other problems, searching for a file (foo.so) using
 Tracker find will return thousands of results in all places where that lib
 is used.

Some package models can't be efficiently implemented.

 And some can be implemented very efficiently but they just don't work.
 Which is worse?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16787#comment:13>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: