Skip to content

gsdayton98/deldupes

Repository files navigation

deleteDuplicates-go

Delete duplicates from an array slice using a modified heap sort.

On the master branch, DeleteDuplicates() makes a max-heap, then interatively pops the max off the heap, but pushes it onto the result slice only if it is not a duplicate. Should have O(n*log n) scale performance.

About

deldupes -- delete duplicate entries from a slice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages