Skip to content

Conversation

@joost-morsink
Copy link
Contributor

The operation is O(n) instead of O(1), because it copies all the elements to the builder.

Summary

Changed the O(1) remark in documentation.

Fixes #4262

The operation is O(n) instead of O(1), because it copies all the elements to the builder.
@dotnet-bot dotnet-bot added this to the May 2020 milestone May 22, 2020
Copy link
Member

@eiriktsarpalis eiriktsarpalis left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@gewarren gewarren merged commit 1bc5416 into dotnet:master Jun 23, 2020
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.

ImmutableArray<T>.ToBuilder method has incorrect remark

4 participants