[Mono-list] Status of unsafe code in Mono

Martin Baulig martin@gnome.org
11 Mar 2003 21:10:45 +0100


"Ben Maurer" <webmaster@theratnerschool.org> writes:

> I am working on improving/rewriting Mono.Math.BigInteger, a class that is essential for
> asymmetrical crypto. My main focus is speed. I have found that using unsafe code can give
> a 20% - 50% speed boost in a couple of functions.

Hi,

do you really mean `unsafe' and not `unchecked' - `unsafe' allows you to do unsafe things
with pointers like, for instance, getting the address of something - while `uncheck'
disables things like overflow checking.

-- 
Martin Baulig
martin@gnome.org
martin@ximian.com