new92 / InstaTools

🧰 A collection of tools used for automating tasks on Instagram 📱| Written in Python 🐍 | Don't forget to ⭐ the repo !
https://github.com/new92/InstaTools
MIT License
132 stars 25 forks source link

optimized sub-optimal code. #18

Closed ghost closed 1 year ago

ghost commented 1 year ago

Made the following changes:

-> replaced un-changed lists by tuples for better runtime & memory savings. -> removed str conversion ahead of input as it always returns a string. -> removed unnecessary 'return None' statements. -> optimized for loops. -> other minor optimizations.