D 2001-02-09T18:12:24
J icomment My\sgoodness!\s\sFurther\stesting\sindicates\sthis\sis\sa\sspeedup\seven\sfor\sshorter\sstrings.\s\sFirst,\sfor\scomparison\sthe\stclsh8.3\sversion\swhich\sused\sthe\sold\salgorithm\sI\sbelieve:\n\s\s$\stclsh8.3\n\s\s%\sset\ss\s"This\sis\sa\slong\sstring\sto\stype\sbut\sa\sshort\sstring\sto\ssplit."\n\s\sThis\sis\sa\slong\sstring\sto\stype\sbut\sa\sshort\sstring\sto\ssplit.\n\s\s%\stime\s{split\s$s\s{}}\s10000\n\s\s229\smicroseconds\sper\siteration\nNow\sthe\snew\sversion\susing\smy\schanged\scode:\n\s\s$\s/tmp/bin/tclsh8.4\s\n\s\s%\sset\ss\s"This\sis\sa\slong\sstring\sto\stype\sbut\sa\sshort\sstring\sto\ssplit."\n\s\sThis\sis\sa\slong\sstring\sto\stype\sbut\sa\sshort\sstring\sto\ssplit.\n\s\s%\stime\s{split\s$s\s{}}\s10000\n\s\s181\smicroseconds\sper\siteration\n\n
J login dkf
J mimetype text/plain
J username dkf
K 231523ffffffffffffffffffffffffffffffffff
U dkf
Z 60c684527d54b004950a9f5e77e53a14