News for hackers. Stuff that matters.
Re:Ruby Symbols by 15155 on Tuesday November 18, 2025 @10:55AM (#45967930)
> 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.

There are no comments on this comment yet.