fossasia / knittingpattern

A Python Library for Knitting Patterns
https://pypi.python.org/pypi/knittingpattern
GNU Lesser General Public License v3.0
1.57k stars 30 forks source link

Better implementation #77

Closed jainaman224 closed 7 years ago

jainaman224 commented 7 years ago

66

Used set() instead of list() to store unique elements so the hashing will decrease access time. Hence, it will improve efficiency.

niccokunzmann commented 7 years ago

Thanks!