Skip to content

Move from Atom based topology to array based #363

@richardjgowers

Description

@richardjgowers

This is something @dotsdl and I have been tinkering with. Basically, it's changing the AtomGroup class to be a thin wrapper around a numpy array (rather than a list of Atoms).

The latest benchmark is here:
https://github.com/richardjgowers/atomgroup_olympics/blob/master/types2.ipynb
Dev list discussion:
https://groups.google.com/forum/#!topic/mdnalysis-devel/aHSB-ryCEQ0

We're seeing about 10-30x speedup for most common operations, so I think we can start to think about implementing this. I think this Issue will act as an anchor for sub issues.

I think first thing to do is to make sure that tests currently cover everything, so we're confident that we aren't changing behaviour as we go.

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions