Message315973
@serhiy.storchaka @rhettinger @vstinner Should we better make the pre-allocation if the length of the iterable is known (so we call PyObject_Length and not PyObject_LengthHint)? This will keep the logic simpler (so not shrinking if PyObject_LengthHint gives more than the real length) and it will not be as expensive as calling PyObject_LengthHint. |
|
| Date |
User |
Action |
Args |
| 2018-04-30 22:22:04 | pablogsal | set | recipients:
+ pablogsal, rhettinger, vstinner, serhiy.storchaka |
| 2018-04-30 22:22:04 | pablogsal | set | messageid: <[email protected]> |
| 2018-04-30 22:22:04 | pablogsal | link | issue33234 messages |
| 2018-04-30 22:22:04 | pablogsal | create | |
|