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
Trimming the run containers so that they use less memory and are safer. #300
Conversation
@fanyang01 Would you review my PR? |
We seem to be doing a lot of memory size tests that are unnecessary. |
These alloc. tests were pretty bad because they were platform dependent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestRleRunSearch16
should not be deleted?
@@ -366,81 +366,6 @@ func TestRleRunReverseIterator16(t *testing.T) { | |||
}) | |||
} | |||
|
|||
func TestRleRunSearch16(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test case should not be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It relies on the old API. The function it tests has been deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test is described as '"RunContainer16.search should respect the prior bounds we provide for efficiency of searching through a subset of the intervals"'. We do not provide this functionality anymore, and it was never used in the actual engine.
@fanyang01 Thanks for the read-over. I will merge. We can add more tests later if we'd like. |
runContainer16.myOpts is subject to data races as indicated in PR #299
It seems like this is an unnecessary component of the code that is better entirely removed. It is what the current PR does.