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

Search spaces should be deepcopied #776

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Conversation

uri-granta
Copy link
Collaborator

Related issue(s)/PRs: #104

Summary

Search spaces are currently not deepcopied for speed reasons (see #104). However, since there's nothing in the search space API that says spaces must be immutable this can result in bugs. It's also not clear how significant the speed saving is (saving state is not usually a bottleneck).

Fully backwards compatible: yes

PR checklist

  • The quality checks are all passing
  • The bug case / new feature is covered by tests
  • Any new features are well-documented (in docstrings or notebooks)

@uri-granta uri-granta marked this pull request as ready for review August 9, 2023 11:25
@uri-granta uri-granta merged commit 56101c0 into develop Aug 9, 2023
12 checks passed
@uri-granta uri-granta deleted the uri/deepcopy_spaces branch August 9, 2023 11:31
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.

2 participants