Skip to content

use hash to improve speed of arrUnique function#58

Open
hammeiam wants to merge 1 commit intokarpathy:masterfrom
hammeiam:master
Open

use hash to improve speed of arrUnique function#58
hammeiam wants to merge 1 commit intokarpathy:masterfrom
hammeiam:master

Conversation

@hammeiam
Copy link

Using a hash reduces the arrUnique function's time complexity from n2 to n.

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