Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20738, comment 17


Ignore:
Timestamp:
06/18/2015 11:06:39 PM (9 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20738, comment 17

    initial v1  
    1 Looking at 20738.2.patch, it has three loops, tho of them nested and is testing each individual character, twice. This seems far too slow in longer posts. Also it would count any non-ASCII char, including emoji, etc.
     1Looking at 20738.2.patch, it has three loops, one of them nested and is testing each individual character, twice. This seems far too slow in longer posts. It would count any non-ASCII char, including emoji, etc.
    22
    33Also, seems the character count works differently for Japanese and Chinese, one counts spaces, the other doesn't according to the comments and patches on the original ticket: https://core.trac.wordpress.org/ticket/8759#comment:15.