Commit graph

159 commits

Author SHA1 Message Date
9f6baa99b0 optimize runtime
A `RatingRow`'s `id` and `updated` are never used, but creating them
a million+ times is quite expensive, so initializing them with `None`
saves a lot of time.
`dataclasses`' `fields` function is also quite expensive; loading the
fields from a row directly saves a lot of CPU cycles.
2021-07-04 18:47:26 +02:00
1038b4eaff add exact matching option 2021-06-24 22:26:47 +02:00
c823c51721 add elapsed processing time to response 2021-06-23 22:57:09 +02:00
0a21cb4420 add web API option to limit the number of results 2021-06-22 12:22:50 +02:00
f602542f43 fix discarding ratings
We want to limit the number of movies, not ratings.  By limiting the
number of movie IDs before loading all ratings with those movie IDs
we can achieve this.
2021-06-22 12:14:30 +02:00
a6adfefdd8 allow year relative filtering 2021-06-22 10:19:15 +02:00
d09880438d add more filtering options 2021-06-21 23:48:36 +02:00
7dd10f8bc3 add imdb full import mode 2021-06-21 18:54:03 +02:00
b5cb22822e init with some kind of working prototype 2021-06-15 19:09:21 +02:00