Re:Never create Ruby strings longer than 23 characters
by Sharlin on Wednesday December 11, 2013 @10:56AM
(#6888226)
Actually in C and C++, longs are 32 bit on most 32-bit platforms. If you need a 64-bit integer type, you need either "long long" or some implementation-specific equivalent.
[ Parent
| on HN ]
Re:Never create Ruby strings longer than 23 characters
by Dylan16807 on Wednesday December 11, 2013 @10:58AM
(#6888240)
I know that, I misread it as using two longs plus two pointers, fixed it now.