Re: [gentoo-portage-dev] Speeding up Tree Verification

2020-07-01 Thread Sid Spry
On Wed, Jul 1, 2020, at 1:40 AM, Fabian Groffen wrote: > On 30-06-2020 13:13:29 -0500, Sid Spry wrote: > > On Tue, Jun 30, 2020, at 1:20 AM, Fabian Groffen wrote: > > > Hi, > > > > > > On 29-06-2020 21:13:43 -0500, Sid Spry wrote: > > > > Hello,

Re: [gentoo-portage-dev] Speeding up Tree Verification

2020-07-01 Thread Sid Spry
On Wed, Jul 1, 2020, at 1:40 AM, Fabian Groffen wrote: > On 30-06-2020 13:13:29 -0500, Sid Spry wrote: > > On Tue, Jun 30, 2020, at 1:20 AM, Fabian Groffen wrote: > > > Hi, > > > > > > On 29-06-2020 21:13:43 -0500, Sid Spry wrote: > > > > Hello,

Re: [gentoo-portage-dev] Speeding up Tree Verification

2020-06-30 Thread Sid Spry
On Tue, Jun 30, 2020, at 2:29 PM, Michał Górny wrote: > On Tue, 2020-06-30 at 12:50 -0500, Sid Spry wrote: > > On Tue, Jun 30, 2020, at 2:28 AM, Michał Górny wrote: > > > Dnia June 30, 2020 2:13:43 AM UTC, Sid Spry napisał(a): > > > > Hello, > > > >

Re: [gentoo-portage-dev] Speeding up Tree Verification

2020-06-30 Thread Sid Spry
On Tue, Jun 30, 2020, at 1:20 AM, Fabian Groffen wrote: > Hi, > > On 29-06-2020 21:13:43 -0500, Sid Spry wrote: > > Hello, > > > > I have some runnable pseudocode outlining a faster tree verification > > algorithm. > > Before I create patches I'd like to

Re: [gentoo-portage-dev] Speeding up Tree Verification

2020-06-30 Thread Sid Spry
On Tue, Jun 30, 2020, at 2:28 AM, Michał Górny wrote: > Dnia June 30, 2020 2:13:43 AM UTC, Sid Spry napisał(a): > >Hello, > > > >I have some runnable pseudocode outlining a faster tree verification > >algorithm. > >Before I create patches I'd like to see if t

Re: [gentoo-portage-dev] Re: Speeding up Tree Verification

2020-06-30 Thread Sid Spry
On Mon, Jun 29, 2020, at 9:34 PM, Zac Medico wrote: > On 6/29/20 7:15 PM, Sid Spry wrote: > > On Mon, Jun 29, 2020, at 9:13 PM, Sid Spry wrote: > >> Hello, > >> > >> I have some runnable pseudocode outlining a faster tree verification > >> alg

[gentoo-portage-dev] Re: Speeding up Tree Verification

2020-06-29 Thread Sid Spry
On Mon, Jun 29, 2020, at 9:13 PM, Sid Spry wrote: > Hello, > > I have some runnable pseudocode outlining a faster tree verification > algorithm. Ah, right. It's worth noting that even faster than this algorithm is simply verifying a .tar.xz. Is that totally off the table? I realiz

[gentoo-portage-dev] Speeding up Tree Verification

2020-06-29 Thread Sid Spry
Hello, I have some runnable pseudocode outlining a faster tree verification algorithm. Before I create patches I'd like to see if there is any guidance on making the changes as unobtrusive as possible. If the radical change in algorithm is acceptable I can work on adding the changes. Instead of

Re: [gentoo-portage-dev] [PATCH 1/3] Add caching to catpkgsplit function

2020-06-28 Thread Sid Spry
On Sat, Jun 27, 2020, at 1:34 AM, Chun-Yu Shei wrote: > According to cProfile, catpkgsplit is called up to 1-5.5 million times > during "emerge -uDvpU --with-bdeps=y @world". Adding a dict to cache its > results reduces the time for this command from 43.53 -> 41.53 seconds -- > a 4.8% speedup. >

Re: [gentoo-portage-dev] [PATCH] Use env to find python

2020-06-16 Thread Sid Spry
rote: > > > > > On Mon, Jun 15, 2020 at 9:39 AM Sid Spry wrote: > > > > > > On Mon, Jun 15, 2020, at 2:36 AM, Ulrich Mueller wrote: > > > > > > > But we know that it is in /usr/bin, so why add yet another > > >

Re: [gentoo-portage-dev] [PATCH] Use env to find python

2020-06-15 Thread Sid Spry
On Mon, Jun 15, 2020, at 2:36 AM, Ulrich Mueller wrote: > But we know that it is in /usr/bin, so why add yet another indirection? > > Attachments: > * signature.asc Ah, sorry -- I forgot to note this here. If you wish to support prefix it is possible it may not be in /usr/bin. Granted I am not

[gentoo-portage-dev] [PATCH] Use env to find python

2020-06-14 Thread Sid Spry
>From b3854bd9791bb21d7284ef6284a3fb7d4b585412 Mon Sep 17 00:00:00 2001 From: Sid Spry Date: Sun, 14 Jun 2020 23:29:46 -0500 Subject: [PATCH] Use env to find python To: gentoo-portage-dev@lists.gentoo.org --- bin/archive-conf | 2 +- bin/binhost-snapshot | 2 +- bin/check-implicit-pointer-usage