diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-19 03:52:20 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-19 03:52:20 +0100 |
commit | 375684ed91dd5499e7a4ea7787e45803e8467e16 (patch) | |
tree | c9d4d5473dda1063fce29b64e1e5880c31afe8f1 /mirrors/migrations/0007_unique_names_urls.py | |
parent | 7313a7914dac9c86d48656964d310cff7fc2a0e1 (diff) | |
download | archweb-375684ed91dd5499e7a4ea7787e45803e8467e16.tar.gz archweb-375684ed91dd5499e7a4ea7787e45803e8467e16.tar.xz |
Use a set instead of list when gathering package differences
If we implement the __eq__ and __hash__ methods, we can use a set to
gather package difference objects and make deduplication of objects a
lot more efficient.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/migrations/0007_unique_names_urls.py')
0 files changed, 0 insertions, 0 deletions