-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Diffs for buffers #1132
Comments
Some people might want to see all that stuff? Can't you compare the data directly instead of the entire |
buffers are compared by data, not but reference, and should be diffed the same way, like strings. It's unlikely that someone is interested in |
I think we'd accept a PR for better |
@a8m, any news? |
waiting for @boneskull's attention |
Diffs for buffers seem to be broken:
This code produces the following:
It's almost ok, except I can see
offset
andparent
, but all I really care is data.But this example shows the worst scenario:
Not only this diff is veeery long (it shows the whole
parent
, which is the pool, I assume), but also it takes significant time to be generated.So, the question is, shouldn't diffs for
Buffer
s be treated specially, to make them really useful?The text was updated successfully, but these errors were encountered: