|
|
|
|
|
by 15155
206 days ago
|
|
> Ruby does not care for efficiency, so there is no point to argue for symbols vs string performance Symbols existed entirely for performance reasons and were once never GC'd: this is absolutely Ruby "car[ing] for efficiency." Today, Ruby's Symbol is GC'd (and is much closer to 'String' in practicality) but still has enormous impacts on performance. |
|