* subversion/libsvn_diff/diff_file.c
  (datasource_get_next_token): Fix typo in comment.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_diff@1485325 13f79535-47bb-0310-9956-ffa450edef68
Minor optimization in diff code: stop comparing data once we found a mismatch.
Further iterations won't change the result.

* subversion/libsvn_diff/diff_file.c
  (find_identical_suffix): exit the loops as soon as CAN_READ_WORD or IS_MATCH
                           are FALSE

git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_diff@1485488 13f79535-47bb-0310-9956-ffa450edef68
Improve svn patch performance significantly.

* subversion/libsvn_diff/parse-diff.c
  (svn_diff_open_patch_file): Open patch file with APR_BUFFERED flag.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_diff@1486915 13f79535-47bb-0310-9956-ffa450edef68