-
Notifications
You must be signed in to change notification settings - Fork 21
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
[WIP] Preliminary prototype for collapsed output #55
Comments
might wanna have some more context around the changes and some hints around how much you skipped:
|
also. for the algorithm you probably want to do it at the same time you're constructing by keeping the |
Yeah! I'm planning to do those things as well. As I said, this is a prelim first implementation prototype. I'll do that and let you know. :D Thanks!! |
Sure. I'll optimize the approach. So, can I proceed with the lookahead approach and extend it? I'll reply to this thread with the outcome of this ASAP. :D |
also, we should probably have some threshold. if i'ts lass than 30 lines we don't collapse anything |
Yeah! |
Ok, I integrated What'll I do next?
Here are some of the results: Thanks, @aaronabramov :D |
you might want some padding/context around changed lines! right now you have
you probably want
|
also need to find a good way to distinguish |
Noted! :D |
PR: #61 |
Usecase: Difference between two structs.
Assertion:
assert_equal
Current Output:
Collapsed Output:
Method: String Iteration
Implementation:
-
or+
).// [4, 5, 16, 17, 20, 21]
cur_index
and apeek_index
.cur_index
andpeek_index
is<= 5
, I'll have those index and the intermediate values in the final collapsed output else I have a...
.// [4, 5, 16, 17, 18, 19, 20, 21]
The text was updated successfully, but these errors were encountered: