Skip to content

added func element(equalTo element:Element) -> Element?#2

Open
alekseykolchanov wants to merge 2 commits intobradhilton:masterfrom
alekseykolchanov:master
Open

added func element(equalTo element:Element) -> Element?#2
alekseykolchanov wants to merge 2 commits intobradhilton:masterfrom
alekseykolchanov:master

Conversation

@alekseykolchanov
Copy link

@alekseykolchanov alekseykolchanov commented Sep 19, 2016

Hi!

I offer you to extend functionality of OrderedSet with function element(equalTo:) -> Element?
It gives developers O(1) complexity access to required elements in the OrderedSet.

Also I changed replaceRange function to keep the order of internal array

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.

1 participant