Skip to content

Optimization: Avoid iterators#463

Merged
SergeiPavlov merged 1 commit intomaster-servicetitanfrom
boxing
Mar 24, 2026
Merged

Optimization: Avoid iterators#463
SergeiPavlov merged 1 commit intomaster-servicetitanfrom
boxing

Conversation

@SergeiPavlov
Copy link
Copy Markdown
Collaborator

@SergeiPavlov SergeiPavlov commented Mar 24, 2026

.IndexOf() is faster for ArraySegment<>

Also:

  • Avoid redundant .Contains()

@SergeiPavlov SergeiPavlov merged commit 2e11756 into master-servicetitan Mar 24, 2026
34 checks passed
@SergeiPavlov SergeiPavlov deleted the boxing branch March 24, 2026 20:06
SergeiPavlov pushed a commit that referenced this pull request Apr 6, 2026
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