Skip to content
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

Refactoring #1

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Refactoring #1

wants to merge 6 commits into from

Conversation

pedroreys
Copy link

Hi, I did some refactoring on your code and tried to provide enough detail on each commit message to give you some context on why I was making those changes.

Extract finer grained methods related to continuing capturing answers so
that it's more explicit and clear all the steps that are part of the
process.
In FormArea, Goals don't require Queue semantics and it's used as a list
elsewhere, which required unecessary list allocations to convert from
Queue to List.
Answers also don't require Queue semantics and they were being converted
to string elsewhere anyway. Using a `List<string>` to begin with will
avoid extra allocations/conversions.
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.

1 participant