Skip to content

Conversation

@obastemur
Copy link
Collaborator

Helps the number of tests not to timeout on CI machines.

BVSparseNode<TAllocator> *
BVSparse<TAllocator>::DeleteNode(BVSparseNode *node, bool bResetLastUsed)
{
this->tail = nullptr;
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we necessarily only delete the last node? If so, shouldn't we update the tail to be the new last node?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

updated the variable name.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, that clears things up a lot, thanks!

@obastemur obastemur force-pushed the faster_bvsparse branch 2 times, most recently from e95afaf to 8692a9d Compare January 23, 2018 18:07
@obastemur obastemur changed the title BVSparse: keep tail for fast fromIndex discovery BVSparse: keep 'last found' for fast fromIndex discovery Jan 23, 2018
Copy link
Contributor

@Penguinwizzard Penguinwizzard left a comment

Choose a reason for hiding this comment

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

LGTM

@obastemur
Copy link
Collaborator Author

@Penguinwizzard Thanks for the review!

@chakrabot chakrabot merged commit 136a7b4 into chakra-core:release/1.8 Jan 23, 2018
chakrabot pushed a commit that referenced this pull request Jan 23, 2018
…ex discovery

Merge pull request #4588 from obastemur:faster_bvsparse

Helps the number of tests not to timeout on CI machines.
chakrabot pushed a commit that referenced this pull request Jan 23, 2018
…st fromIndex discovery

Merge pull request #4588 from obastemur:faster_bvsparse

Helps the number of tests not to timeout on CI machines.
chakrabot pushed a commit that referenced this pull request Jan 23, 2018
…found' for fast fromIndex discovery

Merge pull request #4588 from obastemur:faster_bvsparse

Helps the number of tests not to timeout on CI machines.
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