In .:
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 27 Jun 2008 22:11:22 +0000 (22:11 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Fri, 27 Jun 2008 22:11:22 +0000 (22:11 -0000)
2008-06-27 Rodrigo Kumpera  <rkumpera@novell.com>

* CodePointIndexer.cs : Make TableRange a struct instead
of a class so we save 2 memory ops per ToIndex loop.

svn path=/trunk/mcs/; revision=106782

mcs/class/corlib/Mono.Globalization.Unicode/ChangeLog
mcs/class/corlib/Mono.Globalization.Unicode/CodePointIndexer.cs

index 9ae9de9d7d527cc9e5db6897a9bf23cb000a6b25..03c23f3f0bff9d49382a6082af44c90562ac4773 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-27 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * CodePointIndexer.cs : Make TableRange a struct instead
+       of a class so we save 2 memory ops per ToIndex loop.
+
 2008-04-02  Atsushi Enomoto  <atsushi@ximian.com>
 
        * SortKey.cs : check null arguments. Fixed bug #376171.
index 9b30940302bbfd19d106ee004a859ed72f42cfa7..c655f00cecee76bfe35699b23273de5d7e18ffae 100644 (file)
@@ -54,7 +54,7 @@ namespace Mono.Globalization.Unicode
                // This class is used to compactize indexes to limited areas so that
                // we can save extraneous 0,0,0,0,0... in the tables.
                [Serializable]
-               internal class TableRange
+               internal struct TableRange
                {
                        public TableRange (int start, int end, int indexStart)
                        {