Files
DarkflameServer/migrations/cdserver/8_lookup_indexes.sql
Aaron Kimbrell 3780ce042b perf(cdclient): index the columns the lazy lookups search by
The converted CDClient had no indexes, so each lazy lookup scanned its table (ComponentsRegistry: about
51000 rows, 3.5 ms a query; 0.09 ms with the index). Loading a player with a large inventory spent up to
a minute of the world's main loop in these scans, leaving the client at 35%.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 19:38:46 -05:00

801 B