]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Optimize dns.set.Set. 444/head
authorBrian Wellington <bwelling@xbill.org>
Thu, 2 Apr 2020 21:14:54 +0000 (14:14 -0700)
committerBrian Wellington <bwelling@xbill.org>
Thu, 2 Apr 2020 21:14:54 +0000 (14:14 -0700)
commit343be7c07efc57cad561ce1b69e54600ce01ce4f
tree603d886d279d63ebaea0804b20b5ec3f9518e39e
parentd3f0d68627c07abe083c63a1b0d82bc4a9849d6c
Optimize dns.set.Set.

This changes the internal implementation from a list to an ordered
dictionary (dict or collections.OrderedDict, depending on Python
version).  This is possible now that Rdata are immutable.
dns/set.py