• myhloli's avatar
    refactor(pdf_parse): remove redundant sorting and optimize block indexing · 177ab08e
    myhloli authored
    Removed redundant sorting of lines by model and optimized calculation of block
    indexes by using a single pass through the sorted lines. This change simplifies the
    code and potentially improves performance by reducing the number of sortingoperations and unnecessary iterations over blocks without lines.
    177ab08e
Name
Last commit
Last update
.github Loading commit data...
demo Loading commit data...
docs Loading commit data...
magic_pdf Loading commit data...
projects Loading commit data...
signatures/version1 Loading commit data...
tests Loading commit data...
web_api Loading commit data...
.gitignore Loading commit data...
.pre-commit-config.yaml Loading commit data...
Dockerfile Loading commit data...
LICENSE.md Loading commit data...
MinerU_CLA.md Loading commit data...
README.md Loading commit data...
README.md.bak Loading commit data...
README_ja-JP.md Loading commit data...
README_zh-CN.md Loading commit data...
README_zh-CN.md.bak Loading commit data...
magic-pdf.template.json Loading commit data...
requirements-docker.txt Loading commit data...
requirements-qa.txt Loading commit data...
requirements.txt Loading commit data...
setup.py Loading commit data...
update_version.py Loading commit data...