[Ironruby-core] (no subject)
Peter Bacon Darwin
bacondarwin at googlemail.com
Sun May 11 08:52:50 EDT 2008
Now the next question is should I be using:
mutableString.ConvertToString() or mutableString.GetStringSlice(0)
to get hold of a CLR string for passing to a .NET method.
Both end up calling Content.GetStringSlice(...) anyway but the second one
seems to go through slightly fewer method calls. My feeling is the former
is more intuitive.
From: ironruby-core-bounces at rubyforge.org
[mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Curt Hagenlocher
Sent: Sunday,11 May 11, 2008 13:38
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] (no subject)
On Sun, May 11, 2008 at 5:34 AM, Peter Bacon Darwin
<bacondarwin at googlemail.com> wrote:
It would be useful to have a helper function to clean up this kind of code.
Or is there one and I can't find it?
Ironruby-core mailing list
Ironruby-core at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironruby-core