[MacRuby-devel] Hash Table

Petr Kaleta petr.kaleta at me.com
Mon Apr 18 06:52:54 PDT 2011


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 at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list