summaryrefslogtreecommitdiff
path: root/Lib/test/test_bytes.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2010-01-09 22:14:46 +0000
committerAlexandre Vassalotti <alexandre@peadrop.com>2010-01-09 22:14:46 +0000
commita5c565a53493eefd9f0e531003bc2396e3cb726a (patch)
tree407e0072c1d10ac1003a4651a51095610ae887ed /Lib/test/test_bytes.py
parent0c0e229dd0a12eed81e08917339f2f11e12be96c (diff)
downloadcpython-git-a5c565a53493eefd9f0e531003bc2396e3cb726a.tar.gz
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_bytes.py')
0 files changed, 0 insertions, 0 deletions