This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | pitrou |
|---|---|
| Recipients | pitrou |
| Date | 2008年01月26日.22:44:33 |
| SpamBayes Score | 0.0021716063 |
| Marked as misclassified | No |
| Message-id | <1201387475.19.0.206333594078.issue1943@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
This is an attempt at improving allocation of str (PyUnicode) objects. For that it does two things: 1. make str objects PyVarObjects, so that the object is allocated in one pass rather than two 2. maintain an array of freelists, each for a given str length, so that many str allocations can bypass actual memory allocation calls There is a ~10% speedup in stringbench, and a slight improvement in pybench (as invoked with "./python Tools/pybench/pybench.py -t String"). Also, memory consumption is a bit lower when running those benchmarks. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年01月26日 22:44:35 | pitrou | set | spambayes_score: 0.00217161 -> 0.0021716063 recipients: + pitrou |
| 2008年01月26日 22:44:35 | pitrou | set | spambayes_score: 0.00217161 -> 0.00217161 messageid: <1201387475.19.0.206333594078.issue1943@psf.upfronthosting.co.za> |
| 2008年01月26日 22:44:34 | pitrou | link | issue1943 messages |
| 2008年01月26日 22:44:33 | pitrou | create | |