[roll] Roll fuchsia [component_manager] Optimize path representation Before this change, all `cm_types::Path*` types stored the path as a list of `Name` segments. This involves two levels of dynamic allocation: one for the `Vec` and another for the `Name`, which is backed by `FlyStr`. - An additional 64 bits (one pointer) to store each path segment - 64 bits to store the size of each segment (although this is mitigated by flyweights) - Internal fragmentation from Vec capacity that goes unused It is more space efficient to store the path as a `/`-separated string -- whose overhead is only (n - 1) bytes where n is the number of path segments. Note that this change requires adding a small amount of complexity to the type system. There is now a new type `NameRef`, an unowned variant of `Name`, that is used to represent a path segment. Before we used `&Name` to do this job, which was possible because each path segment was stored as a `Name`. To avoid allocating a `Name`, we introduce the unowned type which is backed by a `&str` slice. Appears to save ~600KiB on release builds. Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1278366 Original-Revision: b0ac655bfa264b594832dbe68715bf951b8a7370 GitOrigin-RevId: c07169e1439ee4d85f996318a30e69f044fde768 Change-Id: If06d6ef25c9409cf47c9e08023c4fafb2f334014
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.