-
Notifications
You must be signed in to change notification settings - Fork 73
Optimize query and python loop code #72
Copy link
Copy link
Open
Description
https://github.com/DragonMinded/bemaniutils/blob/trunk/bemani/data/mysql/music.py#L734-L734
This part seems to have repeated queries, and the efficiency is not very high. Is there amyway to speed up and save the request time.
https://github.com/DragonMinded/bemaniutils/blob/trunk/bemani/data/mysql/music.py#L804-L804
By the way, it seems a waste of time to fill the query results directly into the list in the form of a for loop and cursor.fetchall(). I dont know how to fix it to improve its efficiency.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels