Repository navigation
Per-row QtNameWaveDelegate QImage cache invalidation + clear NRA foreign_absence_probe - #2331
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
86.23 ms→14.03 ms, misses720→48) on a 124-row wavingQTreeWidgetwith 1 row updating per frame (60 frames × 12 visible rows, alternating unprofiled A/B):OpenHCSDev/PyQT-reactive#81(107244b,forget_range+_rows_forgotten+PreparedRow.wraps): bucketsQtNameWaveDelegate._row_imagesperid(row)and drops only modified rows in_rows_forgottenin O(1), instead of wiping every cached row image on any single thread'sdataChanged.(span, rect.width(), rect.height(), option.state._value_, view.wordWrap(), view.viewport().width(), dpr)(strict kernel refinement of(row, frame, wraps)per fixedPreparedRow), callsrow.wraps(view)on misses, and inlines single-callerband_inkintoQtWaveBandCache.baked_band_layout.foreign_absence_probe(3836da74a1,IDEN-3) onsrc/toad/qt/name_wave.py:nominal-refactor-advisor src/toad/qt/name_wave.py --jsonreportsfindings: 0,gate.active: False.Verification
QT_QPA_PLATFORM=offscreen pytest -q -p no:xdist tests/textual/test_name_wave_repaint.py:3 passed in 0.19s(includes sibling-retention assertion onQTreeWidgetItem.setData).tools/qt_drive.py frame_work:RC=0,within the baseline(39.1/frame,0 pxsideways drag, accent drawn15/20looks).REL_IMPORTS=0,qt_inherit_ratchet.py0/0/0/0/0,shadow_check.py0,guarded_imports.py0.