Skip to content

Simplify code - #23

Merged
akx merged 4 commits into
akx:qt-speedupfrom
radarhere:qt-speedup
Sep 4, 2026
Merged

Simplify code#23
akx merged 4 commits into
akx:qt-speedupfrom
radarhere:qt-speedup

Conversation

@radarhere

Copy link
Copy Markdown

Suggestions for python-pillow#9940

See what you think of these ideas.

  • The code can be simplified to be easier to read
  • Let's document the deprecation. I don't think we need "Implement a similar function in your code"
  • I actually think we could just move _aligned_stride into the parent function, but I understand if you disagree

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (qt-speedup@e538cff). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff              @@
##             qt-speedup      #23   +/-   ##
=============================================
  Coverage              ?   65.71%           
=============================================
  Files                 ?      348           
  Lines                 ?    54573           
  Branches              ?     3831           
=============================================
  Hits                  ?    35865           
  Misses                ?    18312           
  Partials              ?      396           
Flag Coverage Δ
GHA_Docker 65.71% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread Tests/test_imageqt.py Outdated
@@ -56,11 +56,6 @@ def test_closed_file() -> None:


def test_deprecated_align8to32_matches_new_impl() -> None:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you're going to remove the "matches new impl" bit of the test, maybe the name of the test should be changed too?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@akx
akx merged commit 8b58728 into akx:qt-speedup Sep 4, 2026
44 of 47 checks passed
@radarhere
radarhere deleted the qt-speedup branch September 4, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants