There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
API should take accept string for Lines
Instead of forcing the entire buffers to be compared into a single String instance, an array of lines (string) should be accepted. Since it will be split into lines anyway this means you can reuse all those instances instead of creating them yourself.
It also means that the maximum file you could operate on can increase because no object has to be too large.