String interning in Python 3 - missing or moved?
Chris Angelico
rosuav at gmail.com
Tue Jan 24 03:31:29 EST 2012
On Tue, Jan 24, 2012 at 7:17 PM, Stefan Behnel <stefan_ml at behnel.de> wrote:
> If you want to encourage them to fill up their memory with user provided
> data in a non-erasable way, then sure, that would certainly keep an
> attacker from having to figure out hash collisions in order to bring down a
> system. Sending *any* arbitrarily varied data would be enough then.
Interning doesn't have to imply non-erasable. And filling memory is a
LOT harder than slowing something down with O(n^2) hashtable
worst-casing.
ChrisA
More information about the Python-list
mailing list