Gentoo Archives: gentoo-portage-dev

From: Francesco Riosa <vivo75@×××××.com>
To: gentoo-portage-dev@l.g.o, Sid Spry <sid@××××.us>
Subject: Re: [gentoo-portage-dev] [PATCH 1/3] Add caching to catpkgsplit function
Date: Mon, 06 Jul 2020 15:26:41
Message-Id: 271aeb11-ab17-c27e-9520-119bdbd8da6a@gmail.com
In Reply to: Re: [gentoo-portage-dev] [PATCH 1/3] Add caching to catpkgsplit function by Sid Spry
1 Il 29/06/20 03:58, Sid Spry ha scritto:
2 > There are libraries that provide decorators, etc, for caching and memoization.
3 > Have you evaluated any of those? One is available in the standard library:
4 > https://docs.python.org/dev/library/functools.html#functools.lru_cache
5 >
6 > I comment as this would increase code clarity.
7 >
8 I think portage developers try hard to avoid external dependancies
9 I hope hard they do