Skip to content

Imported libraries should not be cached #2106

@pekkaklarck

Description

@pekkaklarck

Currently we put imported libraries into an internal cache to avoid importing and processing them multiple times. It's questionable how much time that actually saves and there's a risk that we waste memory keeping references to libraries used only once. The cache also makes the overall import logic more complicated and causes bugs like #2105. Need to measure what kind of performance changes removing the cache would have.

We are also thinking about not caching resources (#2099) and variable files (#2101).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions