Skip to content

A few refactors in some files#4225

Merged
stweil merged 4 commits intotesseract-ocr:mainfrom
sadra-barikbin:main
Apr 26, 2024
Merged

A few refactors in some files#4225
stweil merged 4 commits intotesseract-ocr:mainfrom
sadra-barikbin:main

Conversation

@sadra-barikbin
Copy link
Contributor

Hi there!

A few tiny refactors in some files.

Co-authored-by: Stefan Weil <sw@weilnetz.de>
Copy link
Member

@stweil stweil left a comment

Choose a reason for hiding this comment

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

With my two suggested changes old and new code should be equivalent and we are safe. Maybe the original patch would be better, but it might change the output of the debug tprintf, and I am not sure about that.

@egorpugin
Copy link
Contributor

Just revert and dont touch that condition.

@stweil
Copy link
Member

stweil commented Apr 25, 2024

Often it is easier if unrelated changes like in this pull request are split in separate pull requests, for example "Remove unused local variable", "Fix typo in comment", "Simplify code by using BlobGridSearch" and so on. Then those contributions are easy to review, and they can be merged quickly.

sadra-barikbin and others added 2 commits April 25, 2024 20:54
Co-authored-by: Stefan Weil <sw@weilnetz.de>
Co-authored-by: Stefan Weil <sw@weilnetz.de>
@sadra-barikbin
Copy link
Contributor Author

I made PRs #4226 , #4227 , #4228 and #4229 for the other changes.

@sadra-barikbin sadra-barikbin requested a review from stweil April 25, 2024 17:29
Copy link
Member

@stweil stweil left a comment

Choose a reason for hiding this comment

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

Thank you.

@stweil stweil merged commit d461867 into tesseract-ocr:main Apr 26, 2024
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