Re: [PATCH 1/3] Add caching to catpkgsplit function
Francesco Riosa <[email protected]>
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
Il 29/06/20 03:58, Sid Spry ha scritto: > There are libraries that provide decorators, etc, for caching and memoization. > Have you evaluated any of those? One is available in the standard library: > https://docs.python.org/dev/library/functools.html#functools.lru_cache > > I comment as this would increase code clarity. > I think portage developers try hard to avoid external dependancies I hope hard they do