[Mono-list] JVM performance: JVM as a basis for CLR

Jay Freeman (saurik) saurik@saurik.com
Sun, 22 Jul 2001 15:05:08 -0500


Tom:

AFAIK /unsafe doesn't do anything if you didn't write unsafe code (i.e., use
the "unsafe" keyword).  The idea being that, even though one of the methods
of one of the classes in your assembly is unsafe, the rest can still be
verifiable, safe code.  It shouldn't give any advantage or even change the
resulting binary at all.

Sincerely,
Jay Freeman (saurik)
saurik@saurik.com

----- Original Message -----
From: "Tom" <tom7ca@yahoo.com>
To: "Kunle Odutola" <kunle.odutola@virgin.net>; <mono-list@ximian.com>
Sent: Sunday, July 22, 2001 2:50 PM
Subject: RE: [Mono-list] JVM performance: JVM as a basis for CLR


> Sun has two JITs, one that generates slow code and
> one that generates fast code.  You need to use the
> "-server" flag to get the fast one.
>
> Tom.
>
> PS: Keep in mind that "/unsafe+" gives C# an
> advantage you can probably not use in practice.
> I used it merely to show that it didn't help
> in my case.  But you may want to try both.