refactor(pdf_parse): remove redundant sorting and optimize block indexing
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.
Showing
Please register or sign in to comment