[Mono-devel-list] [Patch] First patch for making String managed

Andreas Nahr ClassDevelopment at A-SoftTech.com
Tue Jun 1 10:05:07 EDT 2004


Hi,

This is a patch that gets all IndexOf - kind methods dealing with chars into
the managed realm.
Please test and provide feedback.

Here are some microbenchmark results (especially cool are the results for
IndexOfAny and LastIndexOfAny):

IndexOf (17): 1132 -> 791
IndexOf (2162): 10576 -> 7862

LastIndexOf (similar to above)

IndexOfAny (long string, nothing found): 25867 -> 2984

LastIndexOfAny  (similar to above)

Andreas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: PatchStringIndexOf.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040601/071ab9f4/attachment.txt 


More information about the Mono-devel-list mailing list