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 rhettinger
Recipients florin.papa, pitrou, r.david.murray, rhettinger, skrah, vstinner, zach.ware
Date 2015-10-08.02:23:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Is there a runtime cost or does the hardware run the bounds checks in parallel with memory accesses?   Are the bounds set when malloc() is called or elsewhere?  I read the provided links but can't say I fully understand how it works exactly (which memory blocks are protected, where the bounds get set, when the registers are loaded, etc).

Also, I'm curious about whether we have direct controls over the bounds.  For example, in a listobject.c or _collections.c object could the bounds be tightened to only include the active data and excluded the unused part of the overallocation?
Date User Action Args
2015-10-08 02:23:06rhettingersetrecipients: + rhettinger, pitrou, vstinner, r.david.murray, skrah, zach.ware, florin.papa
2015-10-08 02:23:06rhettingersetmessageid: <>
2015-10-08 02:23:06rhettingerlinkissue25300 messages
2015-10-08 02:23:06rhettingercreate