Skip to content

Optimizing refactoring: use ArraySegment instead of allocating subarray#33

Merged
SergeiPavlov merged 2 commits intomaster-servicetitanfrom
Optimize_ArraySegment
Aug 31, 2021
Merged

Optimizing refactoring: use ArraySegment instead of allocating subarray#33
SergeiPavlov merged 2 commits intomaster-servicetitanfrom
Optimize_ArraySegment

Conversation

@SergeiPavlov
Copy link
Copy Markdown
Collaborator

@SergeiPavlov SergeiPavlov commented Aug 26, 2021

The optimization is here: https://github.com/servicetitan/dataobjects-net/pull/33/files#diff-03168b160ac9646b7cc14af6934909caecdf6213f68d91386277c3ace0a29ab9L90

Convert some methods to IReadOnlyList argument because it allows to use ArraySegment

@SergeiPavlov SergeiPavlov self-assigned this Aug 26, 2021
@SergeiPavlov SergeiPavlov merged commit d520f3c into master-servicetitan Aug 31, 2021
@SergeiPavlov SergeiPavlov deleted the Optimize_ArraySegment branch August 31, 2021 11:49
SergeiPavlov added a commit that referenced this pull request Dec 14, 2021
…ay (#33)

* Optimizing refactoring: use ArraySegment instead of allocating subarray

* Copyright lines
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