[
https://issues.apache.org/jira/browse/SVN-4840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033731#comment-17033731
]
Julian Foad commented on SVN-4840:
----------------------------------
I have checked some performance timings of the new svn_rangelist_merge2(), and
confirmed it is linear in total number of ranges to be merged (input1 + input2).
(On my laptop the raw speed was around 4 to 12 million ranges per second
depending on the patterns of overlap in the inputs. It is optimized for being
reasonably simple and efficient, not for maximum raw speed.)
> Merge assertion failure in svn_sort__array_insert
> -------------------------------------------------
>
> Key: SVN-4840
> URL: https://issues.apache.org/jira/browse/SVN-4840
> Project: Subversion
> Issue Type: Bug
> Affects Versions: 1.10.0, 1.13.0, 1.10.6
> Reporter: Julian Foad
> Priority: Major
> Attachments: issue4840-fix-1.patch
>
>
> I am investigating an assertion failure. I received a stack trace without
> parameter values, from which I quote the relevant part:
>
> {code:java}
> #4 svn_sort__array_insert (array=?, new_element=?, insert_index=?)
> at subversion/libsvn_subr/sorts.c:310
> assert(0 <= insert_index && insert_index <= array->nelts);
> #5 svn_rangelist_merge2 (rangelist=?, chg=?,)
> at subversion/libsvn_subr/mergeinfo.c:1231
> svn_sort__array_insert(rangelist, &range_copy, i++);
> #6 svn_mergeinfo_merge2 (mergeinfo=?, changes=?,)
> at subversion/libsvn_subr/mergeinfo.c:1838
> #7 combine_forked_mergeinfo_props (...)
> at subversion/libsvn_wc/props.c:138
> #8 apply_single_mergeinfo_prop_change (...)
> at subversion/libsvn_wc/props.c:1087
> {code}
> This was reported in Subversion 1.10.4. I have reproduced with 1.10.6 and
> trunk@1871000.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)