Skip to content

Set/Object creation performance depends on input data.#5

Open
jngbng wants to merge 1 commit into
anvaka:mainfrom
jngbng:master
Open

Set/Object creation performance depends on input data.#5
jngbng wants to merge 1 commit into
anvaka:mainfrom
jngbng:master

Conversation

@jngbng
Copy link
Copy Markdown

@jngbng jngbng commented Nov 17, 2017

In your test, Set seems to outperform plain object since there was almost no collision when generating two sets before calculating similarity.
In the context of getUniqueElement, it is hard to say that Set outperforms
plain object, since the input data may have a lot of duplicates in it.

In the context of getUniqueElement, it is hard to say that Set outperforms
plain object.
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