ArneBachmann / tagsplorer

A quick and resource-efficient OS-independent tagging filetree extension tool and library
Mozilla Public License 2.0
3 stars 1 forks source link

Make code more efficient #45

Open ArneBachmann opened 7 years ago

ArneBachmann commented 7 years ago

E.g. use array[:] assignment more often to avoid garbage collection and object creation, where possible

ArneBachmann commented 7 years ago

Contributed commit 2ab6d9b.

ArneBachmann commented 3 years ago

Using [:] in places where the array came into the namespace as a function argument may change things outside the current block. Happened on one place, so be careful with this kind of optimization.