Mercurial > hg
comparison contrib/Makefile.python @ 34052:ca6a3852daf0
util: use set for reserved Windows filenames
Previously, we were performing membership testing against a
list. Change it to a set for a minor perf win. While we're at it,
explode the assignment in place so less work is needed at module
import time.
Differential Revision: https://phab.mercurial-scm.org/D600
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 31 Aug 2017 19:40:15 -0700 |
parents | 9f8b8c4e5076 |
children | 5e947367606c |
comparison
equal
deleted
inserted
replaced
34051:d2fc88426d21 | 34052:ca6a3852daf0 |
---|