Skip to content

refactor: replace List<String> map keys with ArcKey in NetworkFlowAnalyzer#94

Open
sauravbhattacharya001 wants to merge 1 commit intomasterfrom
gardener/arckey-refactor
Open

refactor: replace List<String> map keys with ArcKey in NetworkFlowAnalyzer#94
sauravbhattacharya001 wants to merge 1 commit intomasterfrom
gardener/arckey-refactor

Conversation

@sauravbhattacharya001
Copy link
Owner

Replaces wasteful Map<List, Double> pattern in NetworkFlowAnalyzer with a proper ArcKey inner class:

  • ArcKey static final inner class with final String from/to, proper equals/hashCode/toString
  • Eliminates O(n) hashCode/equals on List for 2-element keys
  • Removes formatKey() in favor of ArcKey.toString()
  • All public API remains identical

🤖 Automated by Repo Gardener

…lyzer

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions github-actions bot added visualization Graph visualization and UI size/m labels Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m visualization Graph visualization and UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant