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

Cache blockmatrix type #6775

Merged
merged 8 commits into from
Aug 1, 2019

Conversation

johnc1231
Copy link
Contributor

This PR makes the BlockMatrixNativeReader's type a lazy val so that it doesn't keep going to disk.

4800x speedup on my filtering and exporting 300 block matrices example.

Copy link
Contributor

@tpoterba tpoterba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are other def typs that need to be lazy vals. Everything that's a def typ in BlockMatrixIR.scala certainly

@johnc1231
Copy link
Contributor Author

Ok, will do

@johnc1231 johnc1231 force-pushed the johnc-cache-blockmatrix-type branch from c2ddf87 to 3ad029a Compare August 1, 2019 13:37
@danking danking merged commit 6fbb666 into hail-is:master Aug 1, 2019
@johnc1231 johnc1231 deleted the johnc-cache-blockmatrix-type branch June 1, 2021 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants