[Patches] [ python-Patches-923098 ] Support for interned strings in marshal

SourceForge.net noreply at sourceforge.net
Thu Mar 25 08:25:09 EST 2004


Patches item #923098, was opened at 2004-03-25 14:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=923098&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: Nobody/Anonymous (nobody)
Summary: Support for interned strings in marshal

Initial Comment:
This patch performs string sharing in marshal for interned strings. 
On marshalling, TYPE_INTERNED is generated for the first 
occurrence of an interned strings, and TYPE_STRINGREF for a later 
occurrence. On unmarshalling, TYPE_INTERNED strings are interned 
on unmarshalling.

During marshalling, a dictionary is created to track the strings; on 
unmarshalling, a list.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=923098&group_id=5470



More information about the Patches mailing list