Skip to content
Snippets Groups Projects
user avatar
Andreas Gohr authored
Ignore-this: 77a6ae8bee651ddb193e0ed84cbe3667

Okay, so it turned out Chris' test had a bug and wasn't really testing and my
test was skewed by disk caching (remember: always run your performance tests
multiple times).

rolling back:

Sat Jul 25 12:44:59 CEST 2009  Andreas Gohr <andi@splitbrain.org>
  * rollback of the utf8_isASCII() patch

  Tests showed the old code was faster and I was too stupid to read the test results
  rolling back:

  Fri Jul 24 10:40:09 CEST 2009  Andreas Haerter <netzmeister@andreas-haerter.de>
    * Much faster version of utf8_isASCII()
    This version uses a non-capturing regular expression instead of looping through
    all characters of the string.

      M ./inc/utf8.php -5 +2

    M ./inc/utf8.php -2 +5

darcs-hash:20090726191841-7ad00-13950d9c528abd51f5680c6841ec738a0ee72130.gz
7e6f32c4
History
Name Last commit Last update