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

Remove block to block overlap support #934

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Remove block to block overlap support #934

merged 1 commit into from
Apr 26, 2023

Conversation

slacrherbst
Copy link
Contributor

This PR removes block to block overlap support. Having two blocks own the same memory space is dangerous and can create unpredictable behavior.

The overlapEn flag is still supported on variables allowing two variables to overlap the same space in a single block. The current block implementation allows to this be supported safely with proper update notification when the underlying memory space changes.

This is a rogueV6 change.

@codecov-commenter
Copy link

Codecov Report

Merging #934 (18a0bbc) into rogue_v6 (1d2991c) will increase coverage by 0.47%.
The diff coverage is 0.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##           rogue_v6     #934      +/-   ##
============================================
+ Coverage     25.86%   26.34%   +0.47%     
============================================
  Files            70       70              
  Lines          7693     7680      -13     
  Branches       1155     1154       -1     
============================================
+ Hits           1990     2023      +33     
+ Misses         5543     5494      -49     
- Partials        160      163       +3     
Impacted Files Coverage Δ
python/pyrogue/_Root.py 54.70% <0.00%> (+1.33%) ⬆️

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@slacrherbst slacrherbst merged commit 7cd467b into rogue_v6 Apr 26, 2023
@slacrherbst slacrherbst deleted the rem_overlap2 branch April 26, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants