-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Hello,
I was wondering if it would be possible to expand the System.Collections documentation so it spells out the big-O cost of the different operations. (Alternatively, it would be enough to state the underlying algorithm, because then the complexity is easy to determine.)
For example, I've just had a need for a sorted list of objects, which must support efficient insertion and deletion. I assume that SortedSet is a red-black tree and will do what I want, but this doesn't seem to be spelt out in the documentation. Another reasonable implementation would be a sorted list, which would support more efficient retrieval (by binary search) but less efficient insertion and deletion.
Thanks for all your work on the documentation and .NET Core itself.
Pete
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 26b9b071-fac4-e286-3dd0-107ed2687a03
- Version Independent ID: 2356f35d-5784-d763-125b-8c5625600a63
- Content: System.Collections.Generic Namespace
- Content Source: xml/ns-System.Collections.Generic.xml
- Service: unspecified
- Product: .net
- GitHub Login: @mairaw
- Microsoft Alias: mairaw