develooper Front page | perl.perl6.internals | Postings from August 2002

[perl #16859] [PATCH] Fix BUFFER_external_FLAG for strings

Thread Next
Steve Fink
August 29, 2002 13:28
[perl #16859] [PATCH] Fix BUFFER_external_FLAG for strings
Message ID:
# New Ticket Created by  Steve Fink 
# Please include the string:  [perl #16859]
# in the subject line of all future correspondence about this issue. 
# <URL: >

This patch is the real fix for strings with the BUFFER_external_FLAG.
It requires the previous dod.c and resources.c patches to be applied.

Strings marked with the BUFFER_external_FLAG point to the external
memory rather than making a copy for themselves. Side effects of this
are (1) less memory usage, (2) external updates to the string are
reflected in the Parrot STRING (except for length changes!), and (3)
these strings are skipped over when memory is getting moved around
during a compaction.

-- attachment  1 ------------------------------------------------------

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About