Skip to content

Optimize query and python loop code #72

@wz18207

Description

@wz18207

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions