/[Apache-SVN]
ViewVC logotype

Revision 1604188


Jump to revision: Previous Next
Author: stsp
Date: Fri Jun 20 15:24:02 2014 UTC (9 years, 10 months ago)
Changed paths: 3
Log Message:
Improve memory usage while fetching changed paths data from a transaction
by eliminating a full in-memory copy of changed path data.

* subversion/libsvn_fs_fs/low_level.c
  (svn_fs_fs__read_changes_incrementally): New FSFS-internal API which
   invokes a callback for each changed path in a transaction.

* subversion/libsvn_fs_fs/low_level.h
  (svn_fs_fs__read_changes_incrementally): Declare.

* subversion/libsvn_fs_fs/transaction.c
  (svn_fs_fs__txn_changes_fetch): Use svn_fs_fs__read_changes_incrementally(),
   instead of reading a changes_t list into memory and looping over that list.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_fs_fs/low_level.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_fs/low_level.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_fs/transaction.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26