Jeff Clites <[EMAIL PROTECTED]> wrote:

> One other thing occurred to me, to save a few bytes: When upscaling,
> rather than passing clength, we can pass (result->strlen + number of
> bytes left in cstring).

If I read that correctly, s->strlen (or clength) is the desired length.
- on creation a onebyte STRING is created with clength (-1)
- on upscaling this is still the length which then get's doubled

We could use (d + 1 + strlen_left) but this isn't worth the effort.

> JEff

leo

Reply via email to