[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Fix an inefficient way to fill an array of inherited properties

From: Branko ─îibej <brane_at_apache.org>
Date: Fri, 15 May 2020 17:07:44 +0200

On 15.05.2020 16:54, Denis Kovalchuk wrote:
> Hello.
>
> I think that currently the code that obtains inherited properties for servers
> that don't support the capability uses an inefficient way of array filling.
> At each iteration, all previously added properties are moved one position to
> the right to maintain depth-first order. I think it's possible to provide a
> similar behavior walking the array of iprop requests from the end and get rid
> of extra copying of array elements.
>
> I've attached a patch.

Looks like an obvious fix. +1

-- Brane
Received on 2020-05-15 17:07:50 CEST

This is an archived mail posted to the Subversion Dev mailing list.