5 ms·
It's only O(n^2) for each paragraph, isn't it? A "Rejustify" button that would recompute the proper justification is an interesting idea.
by jimktrains2 11y ago
It's only O(n^2) for each paragraph, isn't it?
A "Rejustify" button that would recompute the proper justification is an interesting idea.
- sp332 11y agon is the number of words, according to Wikipedia. https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Minimum_raggedness https://en.wikipedia.org/wiki/Line_wrap_and_word_wrap#Minimu...
- jimktrains2 11y agoThat's what I meant, it's O(n^2) for the words per paragraph I thought, not the entire document.
- sp332 11y agoOh right... yeah I guess that's true.