Skip to content

Conversation

@tpoterba
Copy link
Contributor

@tpoterba tpoterba commented Sep 6, 2022

look at that deleted code! Good riddance.

@tpoterba
Copy link
Contributor Author

tpoterba commented Sep 6, 2022

The important new stuff is mostly in StagedIndexReader, which translates a subset of the operations on IndexReader.scala.

Copy link
Collaborator

@chrisvittal chrisvittal left a comment

Choose a reason for hiding this comment

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

one nit, lgtm otherwise

endQuerySettable.asBaseStruct.loadField(cb, 0).get(cb).asInt64.value -
startQuerySettable.asBaseStruct.loadField(cb, 0).get(cb).asInt64.value
)
cb.assign(startLeaf, cb.memoize(startQuerySettable.asBaseStruct.loadField(cb, 1)))
Copy link
Collaborator

Choose a reason for hiding this comment

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

is the memoize call needed, aren't we assigning it to a variable anyways?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nope, fixed

Copy link
Collaborator

@chrisvittal chrisvittal left a comment

Choose a reason for hiding this comment

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

🎉

@danking danking merged commit 1f3de95 into hail-is:main Sep 10, 2022
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.

3 participants