-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[ENH] Paint Data: Slight optimization #6990
base: master
Are you sure you want to change the base?
Conversation
@ales-erjavec, this seems to fix things. I don't get a slowdown anymore. I tried Previously, when there were many (~500 points) the painting didn't catch up with the mouse action, meaning that when I released the button, the points still kept coming in. Thanks! |
f244bab
to
884a7a3
Compare
Speeds up the undo/redo. Cleanup merging by replacing slices with ranges.
884a7a3
to
d23c197
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6990 +/- ##
==========================================
- Coverage 88.47% 88.46% -0.01%
==========================================
Files 332 332
Lines 73294 73314 +20
==========================================
+ Hits 64847 64859 +12
- Misses 8447 8455 +8 |
5d6f885
to
4bce83e
Compare
Add tests
4bce83e
to
b7673dc
Compare
'undoable' param was passed from triggered signal (checked state). This was wrong.
b7673dc
to
e7fd9d9
Compare
Issue
Ref: #6971
Description of changes
Slight optimization. Most of the time still spent in ScatterPlotItem constructor.
Includes