Skip to content

incr.comp.: Investigate making the result cache updateable in-place. #48231

Open
@michaelwoerister

Description

@michaelwoerister

Right now the compiler will always load and deserialize all query result cache entries that are still valid and then serialize and write them to back to disk again, similar to how a copying garbage collector works. The main reason for implementing the cache this way is that it is very simple.

There might be value in making the cache file updateable in-place in order to save serialization time for unchanged entries. First though, we need some profiling evidence that this would actually save a noticeable amount of time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-incr-compArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.I-compiletimeIssue: Problems and improvements with respect to compile times.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions