At 11:07 PM +0200 4/15/02, Peter Gibbs wrote:
>Dan Sugalski wrote:
>
>> This has been applied too. There's something bugging me about it--I
>> think there may be issues, and I'd really like it if we made sure we
>> had a bunch of zero-length string tests in the test suite.
>
>The only issue I am currently aware of with zero-length strings is the fact
>that mem_allocate will allocate 16 bytes during creation, but go_collect
>will allocate zero space, and hence we end up with multiple buffer headers
>pointing to the same physical memory address (see previous thread
>"Definition of a null string?"
>http://www.mail-archive.com/perl6-internals@perl.org/msg09000.html)
Is this still needed with the update to Parrot_allocate to use
buffers? I think I took care of that.
--
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Previous
|
Thread Next