best(fastest) way to send and get lists from files




I've looked into pickle, dump, load, save, readlines(), etc.

Which is the best method? Fastest? My lists tend to be around a thousand to a million items.

Binary and text files are both okay, text would be preferred in general unless there's a significant speed boost from something binary.

thanks
.



Relevant Pages

  • Re: best(fastest) way to send and get lists from files
    ... I've looked into pickle, dump, load, save, readlines, etc. ... My lists tend to be around a thousand to a million items. ... You could try the marshal module which is very vast, ...
    (comp.lang.python)
  • Re: [BUG?] 2.6.25-rc[23]-mm1 cgroup list corruption under load with VM Scalability patches
    ... I can't say for sure that our patches aren't causing this, ... splitlru+noreclaim patches to hit the problem. ... I looked in the mailing lists and found one other thread related to ... load on my 16 cpu ia64 platform. ...
    (Linux-Kernel)
  • Re: seek automobile 5.5V power
    ... Restart you quest for information by learning about 'load dump'. ... be addressed in the design of that power supply. ... volts is defined as up to 260 volts - but designs should make at least ...
    (sci.electronics.design)
  • Re: How do you deal with lisp libraries
    ... you have some directory structure for libraries like Bill Clementson's ... load libraries on demand (for instance, if your project need lml2 you ... For LispWorks I'd use scripts which load things and dump an image. ... especially important if you want to dump a running Lisp ...
    (comp.lang.lisp)
  • Re: 7.1-PRERELEASE: arcmsr write performance problem
    ... Is the high load average simply a function of processes blocking on ... (e.g. talking to RBL lists, waiting for DCC servers to complete etc) ... Well I tried to remove both the USB com ports drivers and the QUOTA out ... Here is the output of dd on the WORKING server: ...
    (freebsd-stable)