I'd noticed that too.  I thought Strings were actually NSStrings.

Ricky

On Apr 18, 2011, at 9:52 AM, Petr Kaleta wrote:

> Btw: it seems, that something has changed in ruby primitives classes 
> implementation, described in here 
> http://www.macruby.org/documentation/tutorial.html (this example 
> http://cl.ly/2Y382r0w331O230z1Q3D) because "foo".class is not NSCFString but 
> String http://cl.ly/110Y0O0D1k3y1G2e2j2X
> 
> - Petr
> 
> On Apr 18, 2011, at 3:45 PM, Petr Kaleta wrote:
> 
>> Hi I'm a little bit confused about basic ruby classes implementation. Ruby 
>> Hash is internally implemented as NSDictionary/NSMutableDictionary? So for 
>> example if I need to implement hash table, I can use ruby Hash? So the 
>> performance will be exactly same compared to NSDictionary?
>> 
>> - Petr
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to