simphony/simphony-common — pull request #10 by itziakos (2014-09-19 20:26:13+00:00)
Title: Feature io particles update

@nathanfranklin This is a PR against your branch with my suggested changes.

in more details
- Use the tempfile module to avoid polluting the local directory when running tests and benchmarks (especially when tests fail).
- Rework the bench-marking code to better separate the code that is benchmarked.
- Update the FileParticleContainer to use some more pythonic constructs (let me know if you like the `for... else` block :P)
- Change all queries to using the `where` (it looks that it is the fastest of the alternative methods)
- Use the `condvars` option for `where` it looks that it gives around ~30% speadup.