Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented compound merge/sort/unique algorithm for optimization #12

Closed
wants to merge 26 commits into from

Conversation

Flast
Copy link
Owner

@Flast Flast commented Jul 22, 2021

New algorithm does (stable) sort, unique, and inplace merge at once. It may reduce number of scanning count of range.

TODO:

  • Use other sort algorithm for smaller range instead of merge sort.
  • Performance benchmarking.
  • Reduce inplace_merge memory footprint (if possible)
  • Consider optimizations
  • Update documentation (mainly computation order)

@Flast Flast added the enhancement New feature or request label Jul 22, 2021
@Flast Flast force-pushed the inplace_unique_sort_merge branch from 3761ab9 to 9d62be8 Compare July 23, 2021 01:05
@Flast
Copy link
Owner Author

Flast commented Sep 4, 2021

It's not able to be faster than naive algorithm combination...

@Flast Flast closed this Sep 4, 2021
@Flast Flast deleted the inplace_unique_sort_merge branch September 4, 2021 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant