[MacRuby-devel] implementation of symbols
lsansonetti at apple.com
Mon Oct 5 17:05:27 PDT 2009
Actually, we do use SELs to unify symbols (if you look at parse.y).
The Symbol class just inherits from NSString for convenience purposes.
The current code is far to be perfect but so far it works okay.
On Oct 5, 2009, at 4:55 PM, Linan Wang wrote:
> I read a little bit source codes and found out that Symbol is
> implemented on top of NSString. My question is if it's a better
> choice to use SEL as the basis when objc is available? objc runtime
> takes care of the registration and management. I guess using
> NSString class is a decision with good reasons, could anybody please
> shine some lights on it? Thanks
> Best wishes
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
More information about the MacRuby-devel