This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Support for interned strings in marshal
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: loewis
Priority: normal Keywords: patch

Created on 2004-03-25 13:25 by loewis, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
marshal.diff loewis, 2004-03-25 13:25
Messages (2)
msg45665 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-03-25 13:25
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.
msg45666 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-06-27 16:52
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
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40078
2004-03-25 13:25:09loewiscreate