Skip to content

GEOPY-3044: Investigate slow IP inversion - #172

Merged
domfournier merged 1 commit into
developfrom
GEOPY-3044
Sep 4, 2026
Merged

GEOPY-3044: Investigate slow IP inversion#172
domfournier merged 1 commit into
developfrom
GEOPY-3044

Conversation

@domfournier

@domfournier domfournier commented Aug 31, 2026

Copy link
Copy Markdown

GEOPY-3044 - Investigate slow IP inversion

Copilot AI lite review requested due to automatic review settings August 31, 2026 21:54
@github-actions github-actions Bot changed the title GEOPY-3044 GEOPY-3044: Investigate slow IP inversion Aug 31, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR investigates slow induced polarization (IP) inversion performance by adding a simple fields cache in the Dask-backed static IP simulation, returning previously computed fields when available.

Changes:

  • Added an early-return in fields() to reuse _stashed_fields when present (and when return_Ainv=False).
  • Preserved existing behavior for return_Ainv=True by forcing recomputation to return a fresh Ainv.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@domfournier
domfournier merged commit 54e7b09 into develop Sep 4, 2026
13 checks passed
@domfournier
domfournier deleted the GEOPY-3044 branch September 4, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants