[dokuwiki] Re: Performance issues

  • From: Chris Smith <chris@xxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 31 Mar 2006 20:22:49 +0100

The utf8_substr function in Harry's phputf8 (contributions by Andreas Gohr, et al) library is also much more efficient than the current dokuwiki function.

 phputf8 : 0.08seconds

The utf8_substr function can be used as a drop in replacement for the current one and the logic to use mb_substr() can be added. Or maybe it'd be worthwhile completely replacing/substituting the current dokuwiki utf8.php for phputf8. With the full thing the mb_string library check is done once and appropriate functions included.

Chris




-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: