[Mono-devel-list] Performance w/ boxing
malekith at pld-linux.org
Thu Feb 19 13:42:02 EST 2004
On Thu, Feb 19, 2004 at 01:04:38PM -0500, Ben Maurer wrote:
> Well, given that no objects are promoted past gen0 with the MS GC, I am
> not sure how theirs is any better. (in a real life test, where there
> were other allocations, their GC would obviously have an edge). Then
> again, I will admit I do not know much about GCs ;-).
I heard somewhere that GC in MS .NET have some special optimization for
dealing with short lived objects.
However mono performance isn't that bad with boxing. I have an application
that uses boxing *very* extensively (the Nemerle compiler, it uses
parametric polymorphism simulated with casting everything to object;
and yes we're planning code generator using generics) and it doesn't
perform *that* much better on MS runtime.
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: When in doubt, use brute force. -- Ken Thompson :: UL++++$ C++ E--- a?
More information about the Mono-devel-list