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

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

From: Denis Kovalchuk <denis.kovalchuk_at_visualsvn.com>
Date: Fri, 15 May 2020 17:54:10 +0300

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.

Regards,
Denis Kovalchuk

Received on 2020-05-15 16:54:35 CEST

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