[Mono-devel-list] [PATCH] ABC removal on arr [byte_value]
bmaurer at users.sourceforge.net
Tue Apr 27 23:30:22 EDT 2004
The following patch eliminates ABC on a static, readonly array of length
256 or greater that is accessed with an index that is a byte. For
static readonly int  my_array = new int ;
static int Foo (byte b)
return my_array [b];
This type of code can be seen in stuff such as lookup tables.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1680 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040427/f3925b37/attachment.bin
More information about the Mono-devel-list