Re: Sharing Data in Python

2012-05-17 Thread Jason Friedman
t get any constructive responses.. > http://stackoverflow.com/questions/10550870/sharing-data-in-python/10551845 If I was running this code on somewhat new hardware I'm not sure I would do anything. Your OS or disk subsystem, possibly both, are probably already caching this data. -- http://mail.python.org/mailman/listinfo/python-list

Re: Sharing Data in Python

2012-05-15 Thread Jean-Michel Pichavant
://stackoverflow.com/questions/10550870/sharing-data-in-python/10551845 Well a straightforward way of solving this is to use threads. Have your main program spawn threads for processing data. Now what triggers a thread is up to you, your main program can listen to commands, or catch keyboard

Re: Sharing Data in Python

2012-05-14 Thread Miki Tebeka
> How can I make it so, all new python process share this data, so it is only > loaded a single time into memory? You can have one process as server and client ask for parts of data. You might be able to do something smart with mmap but I can't think of a way. I Linux systems, if you first load t

Sharing Data in Python

2012-05-14 Thread raunakgup90
/10550870/sharing-data-in-python/10551845 -- http://mail.python.org/mailman/listinfo/python-list