Skip to content

Checking for duplicate list names #316

Description

@yakra

C++:
Building the list_names set & checking for membership is redundant. When creating route_hash, we can use the return value of unordered_map::insert to determine whether each .list name already exists.

Python:
I'll have to refamiliarize myself with sets & dicts. There may not be the same opportunities for improving efficiency.

Both:
We check for duplicate primary .list names, but not AltRouteNames. Something to be fixed in tandem.

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