News for hackers. Stuff that matters.
Re:Why Python is more fun that Java by anewaccountname on Sunday August 17, 2008 @12:41PM (#278438)
If the data structures are static, you can build them, then fork off a bunch of python processes. They will all have the data, but it will only be in memory once. Just make sure to never invoke GC after that point... (unless python's GC isn't compacting). Also make sure to never reference anything, or you will increment it's reference count and trigger copy-on-write...
Re:Why Python is more fun that Java by fauigerzigerk on Sunday August 17, 2008 @02:50PM (#278503)
The data structures are not static. It's effectively an in memory database, so the data keeps changing.