Skip to content

[native_toolchain_c] Tool resolver caching #19

@dcharkes

Description

@dcharkes

Currently, the tool resolving logic has no caching, this means that tools that are resolved relative to another tool trigger a re-resolving of that tool.

This makes tool resolving slower than needed.

However, addressing this for normal use is low priority. We'd likely only look up a single compiler and potentially an archiver per invocation of a build.dart.

A possible way to address this would be to have a ToolsCache that can be threaded through the code like the Logger.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A feature or bug we're unlikely to addresspackage:native_toolchain_ctype-code-healthInternal changes to our tools and workflows to make them cleaner, simpler, or more maintainable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions