2007-11-06 Jb Evain <[email protected]>
* Hashtable.cs: Don't compare user keys against the special removed
key. Fix#324761.
in Test/System.Collections:
2007-11-06 Jb Evain <[email protected]>
* HashtableTest.cs: Add test case for #324761.
svn path=/trunk/mcs/; revision=89004
* Hashtable.cs (PutImpl): Do not access the table twice, only
once.
(TestPrime): optimize, take the sqrt out of the loop.
svn path=/trunk/mcs/; revision=64217
* Add ComVisible(true) to all the classes that needed it.
* Removed documentation from DictionaryBase.cs and moved it to
Monodoc.
* ArrayList.cs: Fixed signature for constructor, parameter names
are normative.
* CollectionBase.cs: Add a couple of missing methods.
svn path=/trunk/mcs/; revision=51018
* Hashtable.cs: Add new IEqualityComparer constructors for 2.0.
* CaseInsensitiveHashCodeProvider.cs IHashCodeProvider.cs: Mark these
as obsolete in 2.0.
svn path=/trunk/mcs/; revision=49484
* Hashtable.cs (GetHash): Avoid a method call. Also, don't store
the this.hcpRef in a variable. This will create another register
which must be pushed on the stack. It is better to just reference
the variable again. hcpRef.GetHashCode (key) is the slow path
anyways, so an extra variable reference here doesn't hurt
(KeyEquals): ditto.
This gives me a few % back in a raw benchmark.
svn path=/trunk/mcs/; revision=38044
== key (ie, they are the same pointer). In many cases, this will
avoid two virtual calls. This gives me 1% on mcs bootstrap (!!!!)
svn path=/trunk/mcs/; revision=38001
* Hashtable.cs: Check for null serialization info in OnDeserialization.
A hashtable subclass can fully override the constructor, so
serializationInfo would be null in this case. Fixes bug #70698.
svn path=/trunk/mcs/; revision=37988
* Hashtable.cs: Add deserialized elements in OnDeserialization, since
when the serialization constructor is called, some of the elements
may not yet be fully deserialized. This fixes bug #70570.
svn path=/trunk/mcs/; revision=37830
* Hashtable.cs: Serialise/Deserialise to two arrays of
keys/values. This will match what MS.NET appears to be
doing.
svn path=/trunk/mcs/; revision=24308
* System.Collections/Hashtable.cs:
* Test/System.Collections/HashtableTest.cs: patch from Carlos A.
Barcenilla ([email protected]) that includes some fixes for
Hashtable + NUnit2 tests.
svn path=/trunk/mcs/; revision=18845
* Hashtable.cs (PutImpl): Fix my previous checkin, see details
posted on bug #47692.
I really hope I don't mess up this time, because, if I do again,
it will be really embarrassing.
svn path=/trunk/mcs/; revision=17430
Currently Hashtable.PutImpl has an incorrect test which causes the
key chain search to terminate as soon as a free slot is found,
causing key duplication.
svn path=/trunk/mcs/; revision=17376
* Hashtable.cs: Patch from [email protected], GetEnumerator should be
returning DictionaryEntrys, instead of just the Key of the table.
svn path=/trunk/mcs/; revision=16251
a hashtable from which one element has been deleted. The Object instance
used as a removed marker is not detected as a such, since the
serializer creates a different instace.
svn path=/trunk/mcs/; revision=15641
* StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
a few Rotor bugs.
* ArrayList.cs, Hashtable.cs, SortedList.cs: Enumerator fixes, error
checking
We are now passing 37% of the System.Collections.* tests that were failing!
svn path=/trunk/mcs/; revision=15207
* Hashtable.cs: the IDictionaryEnumerator returns DictionaryEntries.
Sat Jan 5 15:59:05 CET 2002 Paolo Molaro <[email protected]>
* ILGenerator.cs: fix emission of two-bytes opcodes.
Missing slot for locals array. Throw exceptions on unimplemented
methods.
* OpCode.cs: add a comment: the Value property is useless.
* OpCodes.cs: fix name of tail opcode (Tail -> Tailcall).
Sat Jan 5 15:53:50 CET 2002 Paolo Molaro <[email protected]>
* Enum.cs: dummy ToString impl.
* String.cs: dummy format implementations to get compiler errors
somewhat working.
* Type.cs: implemented filter delegates. FindMembers runs the filter, now.
svn path=/trunk/mcs/; revision=1851