while writing a simple syslog message parser, something struck me and
would like to know :
What happens internally if you make a new string from a range of another
You have a new String object. But what happens to the internal data ? Is
char range copied to the new string object or is a reference created to
range in the old string ?
If the data is copied over, I propose to introduce a new RefString Class
a C extension that would typically be used by parsers and tokenizers.