[Mono-devel-list] First CIL Regex performance result

Eric Durand Tremblay eric.durand-tremblay.1 at ulaval.ca
Sun Feb 29 14:59:52 EST 2004


>Another optimization might be to use pointers in the generated code, so
>instead of using the indexer property to fetch the values, you could
>keep a pointer to the string.
>
>See what mcs generates for:
>
>	fixed (char c = &my_string){
>	}
>
>Miguel
>
In order to do this, CILMachineBase,  the base class of any Machine, 
must contain some pointer.  Hence, it must be in unsafe mode.  Actually 
System.dll is'nt compiled with the --unsafe flag of mcs

I can do an Hack on my makefile but... I don't know if there is some 
conterpart in compiling System.dll with --unsafe

Eric




More information about the Mono-devel-list mailing list