Skip to content

Improving county computation performance #8354

@jindal-git

Description

@jindal-git

There is performance issue in
variables/household/demographic/geographic/county/county.py

It calls household("first_county_in_state", period) unconditionally on line 43. It is an expensive computation and it should only be called if valid_fips.any() is false.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions