]> granicus.if.org Git - python/commit
bpo-25430: improve performance of IPNetwork.__contains__ (GH-1785)
authorgescheit <gescheit12@gmail.com>
Tue, 30 Apr 2019 07:54:30 +0000 (10:54 +0300)
committerInada Naoki <songofacandy@gmail.com>
Tue, 30 Apr 2019 07:54:30 +0000 (16:54 +0900)
commit3bbcc92577f8e616bc94c679040043bacd00ebf1
treec010916e6f1cb8ca7872b0b325193dcaf7eaef42
parentb0a2c0fa83f9b79616ccf451687096542de1e6f8
bpo-25430: improve performance of IPNetwork.__contains__ (GH-1785)

make a compare in bit-operation manner.
Lib/ipaddress.py
Misc/NEWS.d/next/Library/2019-04-15-12-22-09.bpo-25430.7_8kqc.rst [new file with mode: 0644]