Skip to content

Mutable default argument algo_args=[] in compress() function #5

Description

@kacpertarka

Hi!

I was looking through the benchmark code and noticed a classic Python anti-pattern in the compress function:
def compress(n, algo_class, algo_args=[]):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions