[New-bugs-announce] [issue14381] Intern certain integral floats for memory savings and performance

Kristján Valur Jónsson report at bugs.python.org
Wed Mar 21 18:47:23 CET 2012


New submission from Kristján Valur Jónsson <kristjan at ccpgames.com>:

Michael Foord reminded me of this issue recently.  It was discussed on pydev a few years back and met with limited enthusiasm.  I speak from experience in live production with EVE that this simple change saved us a lot of memory.  Integral floating point numbers are surprisingly common, falling out of mathematical operations and when reading tabular data.  0.0 and 1.0 in particular.

----------
components: Interpreter Core
files: internfloat.patch
keywords: patch
messages: 156502
nosy: krisvale, michael.foord
priority: normal
severity: normal
status: open
title: Intern certain integral floats for memory savings and performance
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file24986/internfloat.patch

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


More information about the New-bugs-announce mailing list