From: Asfand Yar Qazi Date: 2003-12-24T10:11:52+09:00 Subject: Re: Does String cache its 'hash' return value? Florian Frank wrote: > On Wed, 2003-12-24 at 01:06, Asfand Yar Qazi wrote: > >>Depends... if Symbols are used as the keys for a hash table, can they be >>as easily accessed from extension modules as if Strings were used? > > > You can use ID2SYM(rb_intern("foo")) to get the VALUE of symbol :foo. I > don't think it's too complicated. > WOW DAT WAS KWICK U R LEE7!!!11111 -- http://www.it-is-truth.org/