diff options
| author | Alexandre Vassalotti <alexandre@peadrop.com> | 2010-01-09 22:14:46 (GMT) |
|---|---|---|
| committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2010-01-09 22:14:46 (GMT) |
| commit | a5c565a53493eefd9f0e531003bc2396e3cb726a (patch) | |
| tree | 407e0072c1d10ac1003a4651a51095610ae887ed /Lib/test/test_setcomps.py | |
| parent | 0c0e229dd0a12eed81e08917339f2f11e12be96c (diff) | |
| download | cpython-a5c565a53493eefd9f0e531003bc2396e3cb726a.zip cpython-a5c565a53493eefd9f0e531003bc2396e3cb726a.tar.gz cpython-a5c565a53493eefd9f0e531003bc2396e3cb726a.tar.bz2 | |
Issue #6688: Optimize PyBytes_FromObject().
- Add special-cases for list and tuple objects.
- Use _PyObject_LengthHint() instead of an arbitrary value for the
size of the initial buffer of the returned object.
Diffstat (limited to 'Lib/test/test_setcomps.py')
0 files changed, 0 insertions, 0 deletions
