[Mono-dev] PATCH for String.StartsWith(string, StringComparison)

Atsushi Eno atsushi at ximian.com
Thu Feb 2 22:23:56 EST 2006


I agree on "faster" part, but considering the heaviness of string
comparison itself the difference is so trivial ;-)

Atsushi Eno

Thong Nguyen wrote:
>> -----Original Message-----
>> From: mono-devel-list-bounces at lists.ximian.com [mailto:mono-devel-list-
>> bounces at lists.ximian.com] On Behalf Of Gonzalo Paniagua Javier
>> Sent: Friday, 3 February 2006 5:37 a.m.
>> To: mono-devel-list at lists.ximian.com
>> Subject: Re: [Mono-dev] PATCH for String.StartsWith(string,
>> StringComparison)
>>
>> On Thu, 2006-02-02 at 13:19 +1300, Thong Nguyen wrote:
>>> Here's a patch for the 2.0 profile's String.StartsWith(string,
>>> StringComparison) and String.EndsWith(string, StringComparison) both of
>>> which are missing.
>> I made some modifications to your patch to make it follow the coding
>> style guidelines in mcs/class/README and also made it half the size.
>> It's in svn now.
>>
>> Thanks.
>>
>> -Gonzalo
>>
> 
> Ok thanks for putting it in SVN.  I think my version is clearer and faster
> tho :P
> 
> 
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 




More information about the Mono-devel-list mailing list