Re: [PATCH] Add caching to use_reduce,

Chun-Yu Shei <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
Sounds good, here's an updated patch that uses frozenset instead.  I
also moved the lru_cache imports up with the other system imports and
renamed use_reduce_cached to _use_reduce_cached to fit with the existing
convention.

Memory usage and performance are essentially unchanged due to the tuple to
frozenset change.

Thanks,
Chun-Yu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.