komikku/app
MajorTanya 69aba243ed Optimise MAL search queries by ~11x (mihonapp/mihon#2832)
Previously, the app made one request for the search, and then fired
off 1 request per search result to obtain additional data, such as
each title's synopsis, etc.

However, MAL's search allows field selection during the initial query,
which will return all the data in that first response, avoiding the
massive bunch of requests (and alleviating some pressure on MAL from
our userbase).

By combining the selected fields into one constant, I was able to also
get rid of the MALUserListSearch entirely because it was redundant.
This allows for a unified MALManga->TrackSearch helper, further
reducing complexity.

I got to my "11x" improvement because on page of search results has 10
elements, and this change turns 11 (1+10 for results) requests into 1.

(cherry picked from commit 9bf2d78a421213b1885456f5b54c3286edc539e1)
2026-01-08 15:20:55 +07:00
..
src Optimise MAL search queries by ~11x (mihonapp/mihon#2832) 2026-01-08 15:20:55 +07:00
build.gradle.kts Switch to MaterialExpressiveTheme 2026-01-08 12:15:55 +07:00
proguard-android-optimize.txt Remove unused rxandroid dependency 2023-09-03 23:32:59 -04:00
proguard-rules.pro fix(reader): gifs not animating (#1105) 2025-09-04 13:07:08 +07:00