mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
- Read activity and map_id as signed: a row with map_id -1 made the page fail with a server error when sorted by map. - A search counts and pages through the characters it matches (index on character_id) instead of joining every row of the log to a name; when the matches are a large part of the log the page still walks the log in order. - Sorted by character name, only the row ids are sorted and the page's rows are read after. On a log of about 800k rows this takes searches with few matches from about 1 s to 0.1 s and name sorts from about 3 s to 0.5 s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4.5 KiB
4.5 KiB