3 ms·
The Knuth optimal balancing algorithm is implemented in C in the Gnu Core Utilities program "fmt" -- see http://www.gnu.org/software/coreutils/ http://www.gnu.o
by fernly 14y ago
The Knuth optimal balancing algorithm is implemented in C in the Gnu Core Utilities program "fmt" -- see http://www.gnu.org/software/coreutils/ http://www.gnu.org/software/coreutils/ -- and is plenty fast enough for a browser to render text.