Skip to content

Make search faster when there are a lot of songs#320

Open
AxelTerizaki wants to merge 1 commit intoAniDevTwitter:masterfrom
karaokemugen:FasterSearch
Open

Make search faster when there are a lot of songs#320
AxelTerizaki wants to merge 1 commit intoAniDevTwitter:masterfrom
karaokemugen:FasterSearch

Conversation

@AxelTerizaki
Copy link
Copy Markdown
Contributor

This is part of Karaoke Mugen's team's efforts to push back some of our changes to AO (and as a thanks for all the bugs fixed)

With a lot of songs (7000+) JS struggles to load the whole list, making
the search much less pleasant to use.

This patch includes :

  • Make search server-side and not client-side (with 7000 songs it's like
    a 3Mb file to load for the browser, it's painful especially on
    low-memory mobile devices)
  • Search also looks into song titles and artists, not just series name

Beware though, this disables regexp search in the search field (we thought no one would really use it...)

With a lot of songs (7000+) JS struggles to load the whole list, making
the search much less pleasant to use.

This patch includes :
- Make search server-side and not client-side (with 7000 songs it's like
a 3Mb file to load for the browser, it's painful especially on
low-memory mobile devices)
- Search also looks into song titles and artists, not just series name
@Aeden-B Aeden-B deleted the FasterSearch branch February 9, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant