[issue1953] Compact int and float freelists

2013-06-24 Thread Christian Heimes

Changes by Christian Heimes li...@cheimes.de:


--
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1953
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1953] Compact int and float freelists

2011-12-27 Thread Antoine Pitrou

Antoine Pitrou pit...@free.fr added the comment:

I don't know what the purpose of this feature is nor who the target users are. 
Trying to micro-manage the interpreter's resource allocation from Python code 
is certainly a losing battle, and does not warrant relying on 
implementation-specific APIs. Moreover, these days gc.collect() implicitly 
collects the freelists.

I therefore recommend rejecting this patch.

--
nosy: +pitrou
resolution: accepted - rejected

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1953
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1953] Compact int and float freelists

2011-12-24 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy:  -BreamoreBoy
versions: +Python 3.3 -Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1953
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1953] Compact int and float freelists

2010-09-20 Thread Mark Lawrence

Mark Lawrence breamore...@yahoo.co.uk added the comment:

I've set the stage to patch review becasue I think this reflects the accepted 
resolution.  I don't understand why this hasn't been committed, anyone?

--
nosy: +BreamoreBoy
stage:  - patch review

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1953
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1953] Compact int and float freelists

2010-09-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc amaur...@gmail.com added the comment:

The remarks above haven't been addressed. The feature is OK, but the patch is 
not yet perfect.

--
nosy: +amaury.forgeotdarc

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1953
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1953] Compact int and float freelists

2010-07-09 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
versions: +Python 3.2 -Python 2.6, Python 3.0

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1953
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1953] Compact int and float freelists

2008-02-03 Thread Neal Norwitz

Neal Norwitz added the comment:

I think sys is appropriate for clearing the cache.  Lib/test/regrtest.py
still has a reference to gc rather than sys.

Why do the CompactFreeList APIs return an int that is always 0?  Seems
like they should return a real value or be void.

I'm not sure why you changed the functions to keep a block_list_length.
 I doubt this API would be requested very often.  Seems like it would be
better to just calculate when necessary (or perhaps not even add the APIs).

The only issue I have with the patch is the casting in the printf calls.
 These can lose information.  On Win64, long is 32-bits, but size_t is
64-bits.  See PY_FORMAT_SIZE_T in Include/pyport.h for how to handle this.

--
assignee: nnorwitz - tiran
resolution:  - accepted

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1953
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1953] Compact int and float freelists

2008-01-30 Thread Christian Heimes

Christian Heimes added the comment:

I've moved the methods back to the sys module and added API docs for the
C and Python code.

--
title: gc.compact_freelists - Compact int and float freelists
Added file: http://bugs.python.org/file9325/trunk_compact_freelist2.patch

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1953
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com