Kalman Noel
10/6/2006 11:33:00 AM
Rand Waltzman:
> Does Ruby impose a limit on the size of a string?
As it seems, it doesn't:
irb(main):009:0> 'a' * 1_000_000_000; nil
=> nil
# RAM and swap weren't pleased by the above.
irb(main):010:0> GC.start
=> nil
# Now they are able to take a breath again.
Kalman