pub unsafe extern "C" fn svn_fs_dir_optimal_order(
ordered_p: *mut *mut apr_array_header_t,
root: *mut svn_fs_root_t,
entries: *mut apr_hash_t,
result_pool: *mut apr_pool_t,
scratch_pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description
Take the #svn_fs_dirent_t structures in @a entries as returned by #svn_fs_dir_entries for @a root and determine an optimized ordering in which data access would most likely be efficient. Set @a *ordered_p to a newly allocated APR array of pointers to these #svn_fs_dirent_t structures. Allocate the array (but not its contents) in @a result_pool and use @a scratch_pool for temporaries.
@since New in 1.9.