dwavesystems / dwave-optimization

Enables the formulation of nonlinear models for industrial optimization problems.
https://docs.ocean.dwavesys.com/en/stable/docs_optimization/index.html#index-optimization
Apache License 2.0
7 stars 18 forks source link

Refactor C++ `ArrayIterator` for performance and safety #155

Closed arcondello closed 4 weeks ago

arcondello commented 4 weeks ago

See also C.12: Don’t make data members const or references in a copyable or movable type

arcondello commented 4 weeks ago

I considered dropping masked iteration altogether - we don't currently use it anywhere. But I do think it'll be useful at some point so I am hesitant to remove it right now.