Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous `if` condition was inefficient and should have been written with an `and` This resulted in a performance gap. cProfile timing of `export_hocr_string()` on the same document Before ``` 143598720 function calls (129111346 primitive calls) in 44.487 seconds ``` After ``` 97883150 function calls (88084552 primitive calls) in 30.235 seconds ``` Fixes #312 🦕
- Loading branch information