Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrices - create a lowmem class, factor out common methods #328

Closed
GoogleCodeExporter opened this issue Mar 27, 2015 · 23 comments
Closed

Comments

@GoogleCodeExporter
Copy link

The Biodiverse::Matrix structure has a large memory overhead, using ~3.3-5 
times as much memory as a plain two level hash (which it uses as a 
substructure).

This can cause the system to exceed the memory requirements.  

A number of indices also depend on a matrix of values as a precalc or cache, 
but don't need the methods the overheads are there to support/accelerate.  

A low memory matrix class could also be used as a drop-in replacement elsewhere 
if one is willing to sacrifice some speed for less memory consumption.

Original issue reported on code.google.com by shawnlaffan on 15 Aug 2012 at 11:42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants