Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3251
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Peter Otten <__peter__@web.de> |
| Newsgroups | comp.lang.python |
| Subject | Re: memory usage multi value hash |
| Followup-To | comp.lang.python |
| Date | Fri, 15 Apr 2011 10:15:01 +0200 |
| Organization | None |
| Lines | 12 |
| Message-ID | <io8uq5$5id$1@solani.org> (permalink) |
| References | <9e79c6fe-ea6c-4849-bf7a-1b596ff37ecc@r35g2000prj.googlegroups.com> <io78s5$1ld$1@dough.gmane.org> <mailman.366.1302802138.9059.python-list@python.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="ISO-8859-1" |
| Content-Transfer-Encoding | 7Bit |
| X-Trace | solani.org 1302855301 5709 eJwFwQkBACAIA8BK6HgkjsLoH8E7gy+vUDdXGxvhQdzuHpV78E7FLmpu0hIPWFiSZIwSPfkBJvYRbQ== (15 Apr 2011 08:15:01 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Fri, 15 Apr 2011 08:15:01 +0000 (UTC) |
| X-User-ID | eJwFwYEBACAEBMCViP8Yp8j+I3QHo7K2E3QMJlRuj6eGnh2Se9bLimUNQbvklIyduP3INyy66OlKmBDlH0UFFTw= |
| Cancel-Lock | sha1:baoVgLir79joGuM1JmOtbkTA2qM= |
| X-NNTP-Posting-Host | eJwFwQEBwCAMAzBLwNZ2yGHw+pfwBMHJqySYMKwQHskJ5HBZufjtNm1z6GQpykjwK0nTPBnd8B4Tt+v0q7HC7y4udv+fdRlc |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.python:3251 |
Followups directed to: comp.lang.python
Show key headers only | View raw
Terry Reedy wrote: > On 4/14/2011 12:55 PM, Peter Otten wrote: > >> I don't expect that it matters much, but you don't need to sort your data >> if you use a dictionary anyway: > > Which means that one can build the dict line by line, as each is read, > instead of reading the entire file into memory. So it does matter for > intermediate memory use. Yes, sorry, that was a bit too much handwaving.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar
memory usage multi value hash christian <ozric@web.de> - 2011-04-14 09:13 -0700
Re: memory usage multi value hash Peter Otten <__peter__@web.de> - 2011-04-14 18:55 +0200
Re: memory usage multi value hash Terry Reedy <tjreedy@udel.edu> - 2011-04-14 13:28 -0400
Re: memory usage multi value hash Peter Otten <__peter__@web.de> - 2011-04-15 10:15 +0200
Re: memory usage multi value hash Algis Kabaila <akabaila@pcug.org.au> - 2011-04-15 18:01 +1000
csiph-web