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

chore: adjust heap without any popping or pushing. #13211

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

RinChanNOWWW
Copy link
Contributor

@RinChanNOWWW RinChanNOWWW commented Oct 11, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Do not pop or push any element when updating the heap, just adjust it in place.

This PR may conflict with #13148.

As the performance of #13148 is not fully examined. We can improve the multi-way merge sort by this PR first.


This change is Reviewable

@RinChanNOWWW RinChanNOWWW added the ci-benchmark Benchmark: run all test label Oct 11, 2023
@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
databend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 12, 2023 2:00am

@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Oct 11, 2023
@github-actions
Copy link
Contributor

Docker Image for PR

  • tag: pr-13211-c29cc6d

note: this image tag is only available for internal use,
please check the internal doc for more details.

@RinChanNOWWW RinChanNOWWW added ci-benchmark Benchmark: run all test and removed ci-benchmark Benchmark: run all test labels Oct 11, 2023
@github-actions
Copy link
Contributor

Docker Image for PR

  • tag: pr-13211-b72834f

note: this image tag is only available for internal use,
please check the internal doc for more details.

@github-actions
Copy link
Contributor

@BohuTANG BohuTANG merged commit ec322f4 into databendlabs:main Oct 12, 2023
60 checks passed
@RinChanNOWWW RinChanNOWWW deleted the improve-sort branch October 12, 2023 05:18
andylokandy pushed a commit to andylokandy/databend that referenced this pull request Nov 27, 2023
* chore: adjust heap without pop or push.

* Fix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-benchmark Benchmark: run all test pr-chore this PR only has small changes that no need to record, like coding styles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants