Closed alpaylan closed 4 months ago
In src/element.rs line 141, break_lines function calculates lines by doing a linear search until it finds the cutoff point. This can be easily turned into a binary search.
src/element.rs
break_lines
In
src/element.rs
line 141,break_lines
function calculates lines by doing a linear search until it finds the cutoff point. This can be easily turned into a binary search.