We need to verify that we don't produce multiple rules for the same file. This uniqueness check is easy to do with a set, but the original old implementation used a dict with True as the value. This isn't a terrible way to implement a set -- we do it for our own internal OrderedSet implementation, even, and back in prehistory (python 2.3) the standard library's set type was one. But it was deleted and replaced with a fast native implementation, and we should too.pull/12027/head
parent
22d842a97d
commit
4d3432daa3
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue