AndrewHocking / DanceConnect

MIT License
0 stars 0 forks source link

Modify cdn.py from class object to functions #87

Open ryan-pelchat opened 5 months ago

ryan-pelchat commented 5 months ago

This is because the current way that it is used makes the server create a new CDN object every time it uploads or manages an image. If it were a function the server wouldn't have to create and store an object just to throw it away immediately.

Conclusion: This would save some memory and processing power in the long run.