Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #56875
| References | <0044bfd0-f07f-4f7b-b976-5df034b6fec6@googlegroups.com> <mailman.1107.1381907510.18130.python-list@python.org> <81e53ed7-cc3e-437d-966d-9c1d79dc8c9f@googlegroups.com> |
|---|---|
| Date | 2013-10-16 20:09 +1100 |
| Subject | Re: How pickle helps in reading huge files? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1109.1381914565.18130.python-list@python.org> (permalink) |
On Wed, Oct 16, 2013 at 7:51 PM, rusi <rustompmody@gmail.com> wrote: > On Wednesday, October 16, 2013 12:35:42 PM UTC+5:30, Stéphane Wirtel wrote: >> Keep it in memory > > Thats a strange answer given that the OP says his file is huge. > Of course 'huge' may not really be huge -- that really depends on the h/w he's using. Most people's idea of a big file is one that has a few thousand lines in it. That may be pretty huge in terms of manual work, but it'd fit inside memory easily enough. And even if it really is bigger than memory, chances are you can use your page file and still keep it in "memory" - and that's generally the easiest, if perhaps not the most efficient, solution. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How pickle helps in reading huge files? Harsh Jha <harshjha2006@gmail.com> - 2013-10-15 23:55 -0700
Re: How pickle helps in reading huge files? Stephane Wirtel <stephane@wirtel.be> - 2013-10-16 09:05 +0200
Re: How pickle helps in reading huge files? rusi <rustompmody@gmail.com> - 2013-10-16 01:51 -0700
Re: How pickle helps in reading huge files? Chris Angelico <rosuav@gmail.com> - 2013-10-16 20:09 +1100
Re: How pickle helps in reading huge files? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-16 08:39 +0100
Re: How pickle helps in reading huge files? Roy Smith <roy@panix.com> - 2013-10-16 08:29 -0400
Re: How pickle helps in reading huge files? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-10-16 13:32 -0400
Re: How pickle helps in reading huge files? Peter Cacioppi <peter.cacioppi@gmail.com> - 2013-10-16 14:04 -0700
Re: How pickle helps in reading huge files? Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-10-16 23:09 +0200
csiph-web