Message 351582 - Python tracker
Message351582
| Author | serhiy.storchaka |
|---|---|
| Recipients | eric.snow, serhiy.storchaka |
| Date | 2019-09-10.07:21:56 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1568100116.88.0.525709025274.issue38083@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
* Use the const qualifier for constant C strings. This will save memory for their copy in a modifiable memory. * Intern field and attribute names. This will save time, as comparing interned strings is faster. * Temporary incref a borrowed reference to a list item. Arbitrary Python code can be executed when convert an item to C values. The list containing the item can be modified and the reference can became dead if not incref it. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-09-10 07:21:56 | serhiy.storchaka | set | recipients: + serhiy.storchaka, eric.snow |
| 2019-09-10 07:21:56 | serhiy.storchaka | set | messageid: <1568100116.88.0.525709025274.issue38083@roundup.psfhosted.org> |
| 2019-09-10 07:21:56 | serhiy.storchaka | link | issue38083 messages |
| 2019-09-10 07:21:56 | serhiy.storchaka | create | |