[New-bugs-announce] [issue12190] intern filenames in bytecode

Mike Solomon report at bugs.python.org
Thu May 26 21:30:13 CEST 2011


New submission from Mike Solomon <msolo at gmail.com>:

I work on a large app and we noticed that a surprising portion of our heap was filenames embedded the the bytecode.

This one-line patch to intern filenames reduces our on-disk size about ~15% and brings down our heap and in-memory object count by a similar percentage.

----------
components: Interpreter Core
files: codegen.patch
keywords: patch
messages: 136997
nosy: Mike.Solomon
priority: normal
severity: normal
status: open
title: intern filenames in bytecode
type: performance
versions: Python 2.6, Python 2.7
Added file: http://bugs.python.org/file22131/codegen.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12190>
_______________________________________


More information about the New-bugs-announce mailing list