Commit Graph
16 Commits
Author SHA1 Message Date
Marek Safar 726fb74ac0 Remove extra null key check 2013-05-09 10:09:31 +02:00
Marek Safar cfe97bf3a5 Share more common code 2013-02-27 22:58:31 +01:00
Rodrigo Kumpera 1b92a4148c Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs. 2013-02-11 18:42:18 -05:00
Rodrigo Kumpera b96d05dac3 Kill the MOONLIGHT define in corlib. 2013-02-11 16:03:28 -05:00
Geoff Norton 16d4fd790b Further .NET 4.0 ification of the mobile profile 2011-01-25 20:10:54 -05:00
Marek Safar d84d7c7eb9 Remove no longer used BOOTSTRAP conditionals 2010-12-29 12:41:12 +00:00
Marek Safar 894b26feca Warnings cleanup 2010-10-15 15:20:25 +01:00
Jb Evain b672376504 2010-06-04 Jb Evain <[email protected]>
* ConditionalWeakTable.cs: make sure we use positive indexes.


svn path=/trunk/mcs/; revision=158486
2010-06-04 16:27:11 +00:00
Rodrigo Kumpera 3a6d84a1a4 2010-05-11 Rodrigo Kumpera <[email protected]>
* 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
2010-05-11 21:54:51 +00:00
Rodrigo Kumpera be346a8bf5 2010-05-06 Rodrigo Kumpera <[email protected]>
* 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
2010-05-06 20:37:56 +00:00
Sebastien Pouliot 8bdb6b1fb9 2010-03-18 Sebastien Pouliot <[email protected]>
* ConditionalWeakTable.cs:
	* ReferenceAssemblyAttribute.cs:
	* TypeForwardedFromAttribute.cs:
		Build them into Moonlight too (SL4)


svn path=/trunk/mcs/; revision=153839
2010-03-18 13:56:07 +00:00
Miguel de Icaza ecfa2d0c12 FixBuild
svn path=/trunk/mcs/; revision=145693
2009-11-09 01:30:31 +00:00
Miguel de Icaza d17d1e76cc Update
svn path=/trunk/mcs/; revision=145692
2009-11-09 01:16:08 +00:00
Miguel de Icaza 8ca35abf10 2009-11-08 Miguel de Icaza <[email protected]>
* 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
2009-11-08 23:05:00 +00:00
Marek Safar 12faba85d1 Expose more stuff for 4.0 bootstrap
svn path=/trunk/mcs/; revision=141759
2009-09-11 13:10:37 +00:00
Marek Safar a9544047d5 2009-07-02 Marek Safar <[email protected]>
* ConditionalWeakTable.cs: New file.


svn path=/trunk/mcs/; revision=137274
2009-07-02 11:26:51 +00:00