Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #19331 > unrolled thread

Re: String interning in Python 3 - missing or moved?

Started byChris Angelico <rosuav@gmail.com>
First post2012-01-24 19:31 +1100
Last post2012-01-24 19:31 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: String interning in Python 3 - missing or moved? Chris Angelico <rosuav@gmail.com> - 2012-01-24 19:31 +1100

#19331 — Re: String interning in Python 3 - missing or moved?

FromChris Angelico <rosuav@gmail.com>
Date2012-01-24 19:31 +1100
SubjectRe: String interning in Python 3 - missing or moved?
Message-ID<mailman.5020.1327393892.27778.python-list@python.org>
On Tue, Jan 24, 2012 at 7:17 PM, Stefan Behnel <stefan_ml@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web