Skip to content

Make cache-db.json into a binary file #4010

Description

@hdgarrood

Summary

Replace cache-db.json with cache-db.cbor, using the same mechanism for serialization as we already do for externs files.

Motivation

The correctness of the incremental build system depends on an assumption that only the compiler is doing anything with cache-db files, so avoiding JSON is desirable because it also decreases the likelihood that other projects might start depending on them. It should help speed up serialization and deserialization a bit too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions