* ConditionalWeakTable.cs: Implement simple open addressing
hash table with linear probing. We use a prime sized table
for an easy hashing and a target load capacity of 70%.
On a synthetic benchmark, a load factor of 70% did not cause
significant performance degradation over 60% as would be
expected.
svn path=/trunk/mcs/; revision=157174
* ConditionalWeakTable.cs: Discard old broken version. New
version user proper runtime support. Currently it performs
linear search over the keys, which is dog slow but it's a
good start.
svn path=/trunk/mcs/; revision=156851
* ConditionalWeakTable.cs:
* ReferenceAssemblyAttribute.cs:
* TypeForwardedFromAttribute.cs:
Build them into Moonlight too (SL4)
svn path=/trunk/mcs/; revision=153839
* Use the ConditionalWeakTable.cs implementation from MEF, it
needs a little bit of work (see the comment on the file, and the
test suite that shows the problem).
This code is MS-PL
2009-10-15 Sebastien Pouliot <[email protected]>
svn path=/trunk/mcs/; revision=145687