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

Don't sort inplace in sortedunion #381

Merged
merged 2 commits into from
Apr 4, 2024
Merged

Don't sort inplace in sortedunion #381

merged 2 commits into from
Apr 4, 2024

Conversation

jishnub
Copy link
Member

@jishnub jishnub commented Apr 4, 2024

In general, we should be sorting out-of-place, as the argument may not support in-place sorting. Vectors are special cased.

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.99%. Comparing base (ee08389) to head (7ad0510).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #381      +/-   ##
==========================================
+ Coverage   94.53%   94.99%   +0.45%     
==========================================
  Files          16       16              
  Lines        1501     1498       -3     
==========================================
+ Hits         1419     1423       +4     
+ Misses         82       75       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jishnub jishnub merged commit 64339dc into master Apr 4, 2024
14 checks passed
@jishnub jishnub deleted the jishnub/sortedunion branch April 4, 2024 07:59
jishnub added a commit that referenced this pull request Apr 7, 2024
* don't sort inplace in sortedunion

* Tests for maybeinplacesort
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