string reuse

ableasby at hgmp.mrc.ac.uk ableasby at hgmp.mrc.ac.uk
Wed May 21 22:56:50 UTC 2003


>A minor philosophical point - ajStrNew does not allocate space for a
>string - it returns an extra reference-counted copy of the internal
>empty string. When you first use it, then it makes a new string.

But that's just an implementation detail of something that is better
regarded as a more standard constructor.

Alan



More information about the emboss-dev mailing list