3 ms·
It adds up. One request may produce millions of such strings. Ruby and especially RoR without cheap symbol lookups would be as fast as a dead fish.
by pestaa 12y ago
It adds up. One request may produce millions of such strings. Ruby and especially RoR without cheap symbol lookups would be as fast as a dead fish.
- coldtea 12y agoYou're not supposed to have "millions of symbols" in Ruby (or LISP for that matter) either. I mean, you technically could, but it's not what they are used for.