Skip to content

Conversation

0xClandestine
Copy link
Member

Motivation:

Small optimization found.

Modifications:

Checks whether a strategy has already been added via .set() return value rather than a separate .contains() check.

Result:

More optimal code.

@ypatil12 ypatil12 merged commit bd2663f into release-dev/redistribution May 28, 2025
9 checks passed
@ypatil12 ypatil12 deleted the perf/move-require branch May 28, 2025 22:38
0xClandestine added a commit that referenced this pull request May 30, 2025
**Motivation:**

Small optimization found.

**Modifications:**

Checks whether a strategy has already been added via .set() return value
rather than a separate .contains() check.

**Result:**

More optimal code.
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.

2 participants