New submission from Mike Solomon <ms...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12190>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to