From: Ralph Shnelvar Date: 2009-11-24T03:53:19+09:00 Subject: More on psuedo arrays; Better way? Symbols v. Strings MLK> Do you know the difference between symbols and strings? A million MLK> strings may be generated (and quickly GC'd), but only 20 symbols will. I thought I did ... but apparently I didn't. I see that irb(main):001:0> "xyz01".to_sym.object_id => 156018 irb(main):002:0> ("xyz%02d" % 1).to_sym.object_id => 156018 So .... Do symbols hang around "forever"? Once a symbol is created it is not deleted until the interpreter goes away?