dwavesystems / dwavesystems/dwave-hybrid

Optimize State copy

Open
#75 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
90
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Use a shallow copy, wrapped in proxy that will do deepcopy of an individual attribute only on demand (when modified, not when accessed).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the State implementation and its existing copy behavior; the issue does not name a file or test. Read how State attributes are accessed and modified, then determine how to verify that copying is shallow initially and deep-copies an individual attribute only when it is modified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.