More incremental optimization on cleanUp():
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 5 Nov 2004 04:07:04 +0000 (04:07 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 5 Nov 2004 04:07:04 +0000 (04:07 +0000)
commit0db79dbed68b1c30065ed19e4a52200efb8b12c7
tree322a5d01ea1bdcbd65bcb6cb098cae3946e17029
parent874f8b48c6e10bdad8c2c3da282bbb5bea2f6f17
More incremental optimization on cleanUp():
* when splitting ascii vs non-ascii chunks, don't split punctuation and control chars as aggressively; this benefits the Korean test data
* use output buffer and echo; it's _slightly_ faster than string concatenation.
* Separate the surrogate check from the others; many Korean letters fall in the adjacent area with the same head byte, so this gives a small speed boost on Korean text
includes/normal/UtfNormal.php