Skip to content

Fix some code issues in PieceTree impl #120172

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

komonad
Copy link

@komonad komonad commented Mar 30, 2021

This PR fixes some naming issues and duplication in the Red-Black Tree implementation. And it replaces some recursion with iteration in some help functions.

@ghost
Copy link

ghost commented Mar 30, 2021

CLA assistant check
All CLA requirements met.

@rebornix
Copy link
Member

@komonad thanks for your contribution! A set of test cases to cover the changes will be much appreciated.

@rebornix rebornix self-assigned this Mar 30, 2021
@komonad komonad force-pushed the piecetree branch 3 times, most recently from 1023a3d to 1f30413 Compare March 31, 2021 02:18
- add some test cases for changed code
@komonad
Copy link
Author

komonad commented Mar 31, 2021

I'm not sure if the test cases should be implemented like this (the parts I've changed are basically internal APIs), but I add them anyway.

I guess I'll need some reviews or suggestions.

@rebornix rebornix added this to the On Deck milestone Jun 11, 2021
@rebornix rebornix added debt Code quality issues editor-textbuffer Editor text buffer labels Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Code quality issues editor-textbuffer Editor text buffer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants