• 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
pdf_parse_union_core_v2.py 13.2 KB