-
Notifications
You must be signed in to change notification settings - Fork 276
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
Issue #199: Put the closure in heap to avoid the stack overflowed in Debug
#200
Conversation
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.
What are the key changes to this fix? It looks like it's all unrelated changes
for e in self { | ||
|
||
// stable sort | ||
let mut values: Vec<&T> = self.iter().collect(); |
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 should be the change mentioned by #256, it should not be in this pull request
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.
Sort the values
in ascending order, and encode the elements into the buffer. for Issue #256
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.
I mean it should be included in a new request for issue #256, and in the entire pull request, it seems, this is the only substantive change?
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 file only seems to have changed in format, and I compared it to see no substantive changes, and the changes seem to have nothing to do with the problem the target is trying to fix
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.
Yes, It's only format change. It occurs when I merged the main branch to my local branch, and the IDE changed the format automatically, I think we shoud define the standuard configure of format for IDE.
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.
From the log of your pull request's commits, the whole operation list is a bit complicated and confused, you should make the relevant changes for each issue frok a separate branch and then create the pull request, not mix it on a larger functional branch and bring up part of the commit inside as a pull request
No description provided.