homepage

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 pablogsal
Recipients pablogsal, rhettinger, serhiy.storchaka, vstinner
Date 2018年04月30日.22:22:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525126924.61.0.682650639539.issue33234@psf.upfronthosting.co.za>
In-reply-to
Content
@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.
History
Date User Action Args
2018年04月30日 22:22:04pablogsalsetrecipients: + pablogsal, rhettinger, vstinner, serhiy.storchaka
2018年04月30日 22:22:04pablogsalsetmessageid: <1525126924.61.0.682650639539.issue33234@psf.upfronthosting.co.za>
2018年04月30日 22:22:04pablogsallinkissue33234 messages
2018年04月30日 22:22:04pablogsalcreate

AltStyle によって変換されたページ (->オリジナル) /