Commit Graph
22 Commits
Author SHA1 Message Date
OEVGandClaude Opus 5.5 1ae8398a2d Bound the player cache and stop per-frame range checks
- libunitscan: expire the shared player cache once per session (180 days
  for known classes, 90 for class-less, at most 10,000 players). Every
  sighting now stamps an age, so roster and mouseover entries can expire.
- libunitscan: keep a player's GUID only while the class is unknown and
  resolve such entries later with GetPlayerInfoByGUID.
- libunitscan: skip the GUID lookup for known chat speakers seen within
  the hour, throttle full guild rescans to once a minute, skip UnitGUID
  when UnitClass answered, and query ClassicAPI's player cache once per
  miss instead of twice.
- Social Colors: drop its separate 180-day cleanup.
- Range Color: use its own 0.2 s timer. Sharing Blizzard's rangeTimer ran
  the check every frame for every ranged button.
- Docs/PERFORMANCE.md: document the cache rules.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019W3rwusM4i1CYaHQAYixJ7
2026-11-02 00:09:59 +00:00
Dusk-92 2f1c4f42cb Harden final ClassicAPI audit interactions 2026-09-05 16:41:09 +02:00
Dusk-92 003915bbcb Run player cleanup after realm entry 2026-09-01 14:26:56 +02:00
Dusk-92 efd8e48778 Rebuild friend colors per character 2026-09-01 14:25:47 +02:00
Dusk-92 b8ccb7d0a8 Keep Social Colors on current realm cache 2026-09-01 14:18:32 +02:00
Dusk-92 e6c56408c3 Expire all stale shared player entries 2026-09-01 13:53:58 +02:00
Dusk-92 8d9ea07110 Share Social Colors with unit cache 2026-09-01 11:47:07 +02:00
Dusk-92 ee54cabf67 Simplify shared Social Colors cache migration 2026-09-01 11:28:31 +02:00
Dusk-92 b2e991a59e Share Social Colors cache across characters 2026-09-01 11:17:37 +02:00
Dusk-92 8d92d628a9 Expire stale Social Colors player cache 2026-09-01 11:10:31 +02:00
Dusk-92 6073672eb8 Organize action, item, and chat categories 2026-08-30 16:03:24 +02:00
Dusk-92 2b1f37f4e9 Reduce Social Colors chat allocations 2026-08-25 23:00:34 +02:00
Dusk-92 878bc2af1e Preserve Social Colors in restored chat history 2026-08-25 22:41:07 +02:00
Dusk-92 dd1639d343 Restore gray fallback for unknown chat classes 2026-08-25 20:41:57 +02:00
Dusk-92 8ea0b7a7f9 Make Social Colors the sole social color owner 2026-08-25 19:43:38 +02:00
Dusk-92 728d990a62 Harden social color chat hook chaining 2026-08-25 15:44:46 +02:00
Dusk-92 2de11a5e62 Harden Social Colors passive player cache 2026-08-24 10:59:41 +02:00
Dusk-92 68dde13a9a Fix lightweight Social Colors friend cache 2026-08-23 22:40:33 +02:00
Dusk-92 f9fcf483de Avoid duplicate Social Colors hooks 2026-08-23 21:49:57 +02:00
Dusk-92 a78b700baf Avoid duplicate chat class-color processing 2026-08-23 21:47:36 +02:00
Dusk-92 d10c8e7647 Update social-colors.lua 2026-08-12 16:02:12 +02:00
Dusk-92 d2ae117132 Add files via upload 2026-07-28 14:26:42 +02:00