On Thu, 31 May 2007 23:09:54 -0700
Mark Glines <[EMAIL PROTECTED]> wrote:
> The code in utf8_encode_and_advance is beautiful. It basically says,
> add a utf8 character to the buffer. Ok, now did we overrun the
> buffer? CRASH!
So if I add a call to Parrot_reallocate_string if the buffer isn't bi
On Thu, 31 May 2007 23:09:54 -0700
Mark Glines <[EMAIL PROTECTED]> wrote:
> Might be worth it to prereserve 8 bytes or so, to avoid having to
> realloc as often, if this will be called a lot. Currently it just
> reallocs the minimum necessary to fit the existing string, the new
> character and a n
On Sat, 12 May 2007 12:05:26 -0700
Allison Randal (via RT) <[EMAIL PROTECTED]> wrote:
> On x86 Linux (Ubuntu), this configuration fails 2 tests:
>
> t/library/string_utils.t0 134294 13.79% 28-29
> t/op/stringu.t 2 512252 8.00% 1 19
>
> Both tests are fail