You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment methods like GitDiff::Diff#files and GitDiff::File#hunks return pre-filled Arrays, which isn't that optimal if you deal with big input data. I think adding iterators like #each_file, #each_hunk etc. would make it a lot more optimal performance-wise and memory-wise.
Cheers.
Alex
The text was updated successfully, but these errors were encountered:
Hi Andrew,
At the moment methods like
GitDiff::Diff#files
andGitDiff::File#hunks
return pre-filled Arrays, which isn't that optimal if you deal with big input data. I think adding iterators like#each_file
,#each_hunk
etc. would make it a lot more optimal performance-wise and memory-wise.Cheers.
Alex
The text was updated successfully, but these errors were encountered: