Skip to content

cache: use plain dicts for dir cache #1833

@efiop

Description

@efiop

See #1820 (comment)

Currently dir cache looks like

[{"relpath": relpath_1, "md5": md5_1}, {"relpath": relpath_2, "md5": md5_2},]

but we could simply store it as

{relpath_1: md5_1, relpath_2: md5_2}

this is obviously going to break backward compatibility, so it is better to do that in 1.0 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhances DVCp3-nice-to-haveIt should be done this or next sprintrefactoringFactoring and re-factoring

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions