[Mono-list] C#/.NET Generics update and summary

Peter Sestoft sestoft@dina.kvl.dk
Sun, 13 Jul 2003 22:02:47 +0200 (CEST)


Stefan Matthias Aust wrote (in March 2003):

> >    run-time casts. Gyro, a reference implementation of Generic C#/CIL,
> >    is available as a patch to the Microsoft Shared Source CLI.
> 
> Does Gyro already has the mentioned CLI 2.0 and is there a measurable 
> performance improvement?

Some measurements made on a early version of the MS generic CLR shows
that indeed there is a considerable speed-up for primitive type
instances of generic types.  See the statistics under sorting at

      http://www.dina.kvl.dk/~sestoft/gcsharp/
 
Gyro has a complete implementation of generics in the style of the
real MS CLR as far as I know, but the above-mentioned measurements,
although old by now, are probably more indicative of the real CLR.

Peter Sestoft
--
Department of Mathematics and Physics  *  http://www.dina.kvl.dk/~sestoft/
Royal Veterinary and Agricultural University          *  Tel +45 3528 2334
Thorvaldsensvej 40, DK-1871 Frederiksberg C, Denmark  *  Fax +45 3528 2350