You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
issue: 1Pharo64-12.xml is a JUnit test report generated by smalltalkCI, detailing 20 passing CTQueueTest tests in Pharo 64-bit v12. It was accidently pushed. I’ll ensure its excluded from future commits. issue: 2 Increased the queue size in testLargeQueuePerformance to 100,000, which I think is enough to thoroughly test performance. issue: 3 Added seven new test methods (testAddNilElement, testAddAllLargeCollection, testInterleavedAddRemove, testDoIteration, testIncludes, testSizeAccuracy, testStressAddRemove) to improve test coverage and robustness.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #9 by replacing OrderedCollection in CTQueue with a singly linked list using CTQueueNode, making remove and poll O(1) instead of O(n).
Changes: