Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #3251
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: memory usage multi value hash |
| Followup-To | comp.lang.python |
| Date | 2011-04-15 10:15 +0200 |
| Organization | None |
| 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> |
Followups directed to: comp.lang.python
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