Gentoo Archives: gentoo-portage-dev

From: Chun-Yu Shei <cshei@××××××.com>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] Add caching to use_reduce,
Date: Mon, 13 Jul 2020 06:30:27
Message-Id: 20200713063020.820029-1-cshei@google.com
In Reply to: Re: [gentoo-portage-dev] [PATCH] Add caching to use_reduce, vercmp, and catpkgsplit by Zac Medico
1 Sounds good, here's an updated patch that uses frozenset instead. I
2 also moved the lru_cache imports up with the other system imports and
3 renamed use_reduce_cached to _use_reduce_cached to fit with the existing
4 convention.
5
6 Memory usage and performance are essentially unchanged due to the tuple to
7 frozenset change.
8
9 Thanks,
10 Chun-Yu

Replies

Subject Author
[gentoo-portage-dev] [PATCH] Add caching to use_reduce, vercmp, and catpkgsplit Chun-Yu Shei <cshei@××××××.com>