cmap / cmapPy

Assorted tools for interacting with .gct, .gctx files and other Connectivity Map (Broad Institute) data/tools
https://clue.io/cmapPy/index.html
BSD 3-Clause "New" or "Revised" License
124 stars 74 forks source link

Optimize gctx subsetting order for memory usage. #72

Closed darintay closed 3 years ago

darintay commented 3 years ago

I've manually verified locally that this reduces intermediate memory usage and run faster in the cases described in https://github.com/cmap/cmapPy/issues/71.

Not sure there's an easy way to add a unit test for this.