Skip to content

Improve speed of Page Sep Fixup - #1911

Merged
windymilla merged 1 commit into
DistributedProofreaders:masterfrom
windymilla:slow-pageseps
Jul 31, 2026
Merged

Improve speed of Page Sep Fixup#1911
windymilla merged 1 commit into
DistributedProofreaders:masterfrom
windymilla:slow-pageseps

Conversation

@windymilla

Copy link
Copy Markdown
Collaborator

Remove some time-consuming stuff at the cost of slightly more complex code, but worthwhile.

Also, show "Working" label while working.

Remove some time-consuming stuff at the cost of slightly
more complex code, but worthwhile.

Also, show "Working" label while working.
@windymilla
windymilla requested a review from srjfoo July 30, 2026 16:59

@srjfoo srjfoo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wow ... about an order of magnitude speed-up on the M1.

@windymilla
windymilla merged commit 656a7a4 into DistributedProofreaders:master Jul 31, 2026
1 check passed
@windymilla
windymilla deleted the slow-pageseps branch July 31, 2026 10:57
@windymilla

Copy link
Copy Markdown
Collaborator Author

Wow ... about an order of magnitude speed-up on the M1.

Yes - it was taking extra long on longer files, probably proportional to the square of the number of pages, because the code was written in a simple way. Since performance has now shown itself to be a problem, I found 2 or 3 changes to make it more efficient.

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.

2 participants