Skip to content

Performance optimizations for co.py #6

Description

@cliffckerr
  • Add parallelization (can use sc.parallelize()) at the appropriate place -- over counties, I guess? Or maybe in optimize() over for mask, targ_row, n in zip(samp_masks, range(len(targs)), n_hhs)?
  • Could try to add Numba to FTdist() and anneal() if they're a computational bottleneck -- that could recover Julia-speed performance if this version is significantly slower (but I don't recall that it's that much slower).
  • Could also just point Claude etc at this file and see what it can find :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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