2005-07-26 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 26 Jul 2005 15:16:53 +0000 (15:16 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Tue, 26 Jul 2005 15:16:53 +0000 (15:16 -0000)
commit623803f165f9917497606d5e514609a71963fffa
tree22d384c588b33f4b219d0b0d4000e2af48140695
parentdd962337f72ea1766b368a4739721c8f3a219c48
2005-07-26  Atsushi Enomoto  <atsushi@ximian.com>

* SimpleCollator.cs : When the tail of the target does not match more
  than 3 times, then IsSuffix() will never be true (3 is the max
  length of an expansion; \uFB03 -> ffi). It brings significant
  performance boost when "source" string is very long.
* MSCompatUnicodeTable.cs : added MaxExpansionLength constant.
  Reordered code lines.

svn path=/trunk/mcs/; revision=47705
mcs/class/corlib/Mono.Globalization.Unicode/ChangeLog
mcs/class/corlib/Mono.Globalization.Unicode/MSCompatUnicodeTable.cs
mcs/class/corlib/Mono.Globalization.Unicode/SimpleCollator.cs