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
://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
> 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
/10550870/sharing-data-in-python/10551845
--
http://mail.python.org/mailman/listinfo/python-list