|
|
|
|
|
by amelius
3035 days ago
|
|
> there's no need to look for good enough, there's already a nice n log n solution. How efficient is that under local changes? E.g., when the user (or javascript) changes one word in a long paragraph, does the algorithm require a re-analysis of the whole paragraph? |
|
However, you might find that many of the old linebreaks can stay as they are, so I'd expect reflowing to be faster in practice.