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

[breaking] Remove the Allocate-Load API #1495

Merged
merged 1 commit into from Jul 29, 2021
Merged

[breaking] Remove the Allocate-Load API #1495

merged 1 commit into from Jul 29, 2021

Conversation

odow
Copy link
Member

@odow odow commented Jul 26, 2021

We should decide if we want to do this before merging, but just seeing what the diff would be.

Closes #1341

This API was confusing, never widely used, and didn't support
bridges.
@odow odow added breaking Submodule: Utilities About the Utilities submodule labels Jul 26, 2021
@odow odow requested a review from blegat July 26, 2021 05:53
@odow odow added this to the v0.10 milestone Jul 27, 2021
@odow
Copy link
Member Author

odow commented Jul 28, 2021

So yay/nay on this?

Copy link
Member

@blegat blegat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say yay :)

elseif supports_allocate_load(dest, copy_names)
return allocate_load(dest, src, copy_names, filter_constraints)
else
if !MOI.supports_incremental_interface(dest, copy_names)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One could argue whether we want to simplify this now and just having the fallback

copy_to(...) = default_copy_to(...)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Let's merge this first and then re-assess all the copy stuff.

@odow odow merged commit 9dfcec0 into master Jul 29, 2021
@odow odow deleted the od/rm_allocate_load branch July 29, 2021 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Submodule: Utilities About the Utilities submodule
Development

Successfully merging this pull request may close these issues.

Deprecate Allocate-Load
2 participants