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

SourceForge.net noreply at sourceforge.net
Sun Jun 27 12:52:17 EDT 2004


Patches item #923098, was opened at 2004-03-25 14:25
Message generated for change (Comment added) made by loewis
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: Closed
>Resolution: Accepted
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.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2004-06-27 18:52

Message:
Logged In: YES 
user_id=21627

Committed, with modifications, as

utilities.tex 1.14
libmarshal.tex 1.24
marshal.h 2.14
NEWS 1.1011
import.c 2.233
marshal.c 1.79


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

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