/[Apache-SVN]
ViewVC logotype

Revision 1683895


Jump to revision: Previous Next
Author: ivan
Date: Sat Jun 6 11:42:31 2015 UTC (9 years, 6 months ago)
Changed paths: 1
Log Message:
Simplify code and avoid multiple buffer reallocation for every delta
window in SVNDIFF stream processing.

* subversion/libsvn_delta/svndiff.c
  (write_handler): Use svn_stringbuf_remove() to remove processed 
   window data from buffer. Clear subpool on every window procesing 
   instead of creating new subpool and destroy old one.
  (svn_txdelta_parse_svndiff): Allocate DB->BUFFER in DB->POOL instead of
   DB->SUBPOOL.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_delta/svndiff.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26