1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-22 09:55:17 +02:00
Files
vcmi/lobby
Ivan Savenko 93e7c0aa67 Optimize getActiveGameRooms call
This call currently takes large part of DB access time.

According to EXPLAIN QUERY PLAN it looks like WHERE xxx IN(1,2,3) causes
SQLite to use full table SCAN instead of using available index.

For getActiveGameRooms this change decreases query time from ~60-70 ms
to <1 ms
2026-05-10 01:07:18 +03:00
..
2026-05-06 18:38:48 +03:00
2026-03-26 23:41:47 +01:00
2026-05-06 18:38:48 +03:00
2026-03-26 23:43:26 +01:00
2026-05-09 15:57:36 +03:00
2026-05-06 18:38:48 +03:00
2026-05-06 18:38:48 +03:00