Skip to content

Inquiry - What is the algorithmic complexity of the hash_files function & what number of apps / migration files are computationally feasible #65

@TaufiqSyed

Description

@TaufiqSyed

First off - fantastic project - feel free to close this issue.

I wanted to check regarding this, since I saw on line 224-225 in django-migrations-ci/django_migrations_ci/django.py

    for n in range(depth + 1):
        combinations = itertools.combinations_with_replacement(checksums, n)

I'm sure this would work seamlessly with most scenarios but I wanted to ask, what would be the Big O complexity of the entire calculation. And as it is exponential, what values is this feasible for, I wanted to try running this on a cloud pipeline.

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions