Differences From Artifact [5bfa0023ae]:
- File
src/OFMutableString.m
— part of check-in
[13f2a20288]
at
2010-01-30 18:29:28
on branch trunk
— Change how the Unicode table is stored.
The recent optimization had a bug in the range check and thus did not
notice that an int16_t is not enough to store the difference, thus
leading to broken results. This reverts it to the old way the Unicode
table was stored. (user: js, size: 10973) [annotate] [blame] [check-ins using]
To Artifact [2a95dc6ba0]:
- File src/OFMutableString.m — part of check-in [305317e5ea] at 2010-01-31 22:05:33 on branch trunk — Small optimization. (user: js, size: 10986) [annotate] [blame] [check-ins using] [more...]
︙ | |||
41 42 43 44 45 46 47 48 49 | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | + - - + + | size_t i, j, d; char *nstr; if (!is_utf8) { assert(table_size >= 1); uint8_t *p = (uint8_t*)*string + *length; uint8_t t; while (--p >= (uint8_t*)*string) |
︙ |