plan9fox/sys
cinap_lenrek 4fdc7dbe9c fmt: improved version using less memory
functional identical, but uses different data structure.
instead of reading all words into memory, we read and
tokenize on demand keeping a simple linked list of words
to conume by further calls of getword(). once the list
is empty we read the next line, tokenize it and fill the
list up again. so we only need as mutch memory to hold
all the words of the longest line.
2012-10-23 02:08:35 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes, rob, rsc, troll: the war is over 2012-10-16 11:21:21 -05:00
include Add alignment hints for e512 ATA drives. 2012-09-09 17:22:12 +12:00
lib kernel: mnt cache rework 2012-10-17 15:48:30 +02:00
man document urlencode in hget(1) 2012-10-18 15:23:40 +02:00
src fmt: improved version using less memory 2012-10-23 02:08:35 +02:00