[REBOL] Duplicating blocks
From: chris::starforge::co::uk at: 27-Jun-2001 13:34
Hi,
A problem that has been bothering me:
bigstring: make string! 50000
read %somefile bigstring
anotherstring: copy bigstring
Assume there's only 300 characters in somefile. The question is, does
copy duplicate the full thing (ie: anotherstring has 50000 characters
storage space, of which 300 are used) or does it only copy the
characters (ie: anotherstring has 300 chars storage, all of which are
in use.) How can I find out how much slack a series has anyway?
Chris