[Mono-list] Performance issue
Miguel de Icaza
miguel@ximian.com
04 Sep 2001 13:16:05 -0400
> this is very annoying. Does someone know if there is performance issue
> considering C# ?
Well, there are a few issues you might want to be aware of.
Standard C# will add a few penalties to your execution speed:
* Garbage Collection: this can take a non trivial ammount of
time if you have large objects for example.
* Range checking: the runtime will detect invalid array access
by checking every time the range of the array.
You might want to profile the code, and see where it is spending most
of its time. For computation intensive tasks, you might want to run
the code inside an unsafe method.
Miguel.