Re: [gentoo-portage-dev] [PATCH] config: cache profile.bashrc stat results (bug 649806)

2018-07-15 Thread Zac Medico
On 07/15/2018 07:27 AM, Brian Dolbec wrote: > On Sat, 14 Jul 2018 22:05:55 -0700 > Zac Medico wrote: > >> Optimize config to stat profile.bashrc files once in the constructor, >> in order to avoid repeated stat calls in the setcpv method. >> >> Bug: https://bugs.gentoo.org/649806 >> --- >>

Re: [gentoo-portage-dev] [PATCH] config: cache profile.bashrc stat results (bug 649806)

2018-07-15 Thread Brian Dolbec
On Sat, 14 Jul 2018 22:05:55 -0700 Zac Medico wrote: > Optimize config to stat profile.bashrc files once in the constructor, > in order to avoid repeated stat calls in the setcpv method. > > Bug: https://bugs.gentoo.org/649806 > --- > pym/portage/package/ebuild/config.py | 13 - >

[gentoo-portage-dev] [PATCH] config: cache profile.bashrc stat results (bug 649806)

2018-07-14 Thread Zac Medico
Optimize config to stat profile.bashrc files once in the constructor, in order to avoid repeated stat calls in the setcpv method. Bug: https://bugs.gentoo.org/649806 --- pym/portage/package/ebuild/config.py | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git