Re:Never create Ruby strings longer than 23 characters
by gliese1337 on Wednesday December 11, 2013 @11:30AM
(#6888480)
Because of this line:
23 wasn't chosen, it was calculated to be the size that would be required for a struct describing a heap string, and will actually be a different number for different architectures. Choosing to make it bigger would add unnecessary overhead to the RString struct.
[ Parent
| on HN ]
There are no comments on this comment yet.