v1.22.8
What's new
tag cdb1ebeaff044d4d61282cd14ba04e697b2c2125 v1.22.8
Author: Ironship <oleg.szew@outlook.com>
Date: Fri Nov 20 22:13:21 2026 +0100
WordHunterWoW 1.22.8
commit 70ff03c466e3664bd96b9fe25f1cde36174a26cd
Author: Ironship <oleg.szew@outlook.com>
Date: Fri Nov 20 22:12:40 2026 +0100
Release 1.22.8
The word list and the statistics window no longer go through the whole
shipped dictionary on every refresh (an index is built in the background the
first time the list is opened), the saved export is built at logout instead of
at every login and new encounter, and the recall check's controller hints have
a row of their own.
commit 7f842ced067ab3e7695cc5b60d155799058af2da
Author: Ironship <oleg.szew@outlook.com>
Date: Fri Nov 20 21:00:15 2026 +0100
Word list: index the shipped dictionary in the background, statistics skip it
Every refresh of the word list (opening it, a status button, the hide-ignored
box, each pause in typing in the search box) walked the whole shipped
dictionary, 143,043 entries for German, and sorted what it kept; a search also
made the lowercase "word translation" of every entry to look for a few letters
in it. Against a stand-in with the real saved variables that was about 0.3 s to
list and 0.5 s to search, with about 14 MB of garbage for a search. The
statistics window walked the pack as well and threw every entry away.
WordList.lua now makes what depends on a pack alone once, in the background (a
coroutine continued from C_Timer.After, about 4 ms a frame): the pack's keys in
order, and the lowercase text of every entry in one string that string.find
searches. A refresh takes the pack's matches from that, leaves out the words
the player has an entry of their own for, and merges in the player's own
matching entries. Until the index is ready, for a locale with more than one
pack and for a search with a control character in it, the list is walked as
before; walkWordItems is the old code.
Core.lua: Addon.ForEachOwnWord walks the player's own words alone (the part of
ForEachEffectiveWord after the pack, which now calls it), and
Addon.CarriesEncounters exposes the existing local. Stats.lua: computeStats
walks the own words only.
commit 7f842ced067ab3e7695cc5b60d155799058af2da
Author: Ironship <oleg.szew@outlook.com>
Date: Fri Nov 20 21:00:15 2026 +0100
Word list: index the shipped dictionary in the background, statistics skip it
Every refresh of the word list (opening it, a status button, the hide-ignored
box, each pause in typing in the search box) walked the whole shipped
dictionary, 143,043 entries for German, and sorted what it kept; a search also
made the lowercase "word translation" of every entry to look for a few letters
in it. Against a stand-in with the real saved variables that was about 0.3 s to
list and 0.5 s to search, with about 14 MB of garbage for a search. The
statistics window walked the pack as well and threw every entry away.
WordList.lua now makes what depends on a pack alone once, in the background (a
coroutine continued from C_Timer.After, about 4 ms a frame): the pack's keys in
order, and the lowercase text of every entry in one string that string.find
searches. A refresh takes the pack's matches from that, leaves out the words
the player has an entry of their own for, and merges in the player's own
matching entries. Until the index is ready, for a locale with more than one
pack and for a search with a control character in it, the list is walked as
before; walkWordItems is the old code.
Core.lua: Addon.ForEachOwnWord walks the player's own words alone (the part of
ForEachEffectiveWord after the pack, which now calls it), and
Addon.CarriesEncounters exposes the existing local. Stats.lua: computeStats
walks the own words only.
commit 17cea0d30ae707c2dfd6c07d6cfd66f085ba588c
Author: Ironship <oleg.szew@outlook.com>
Date: Fri Nov 20 17:05:30 2026 +0100
Build the saved export once, at logout, not at every login and new encounter
Addon.rebuildExport sorted every saved word and ran five gsub callbacks per
word: about 90 ms and 3 MB of garbage for 2,800 words. It ran in
initializeDatabase at every login (most of the work of ADDON_LOADED) and in
trackQuestEncounters whenever reading a quest recorded a new encounter, which
is a hitch of about 100 ms each time in a run against a stand-in with the real
saved variables.
Nothing in the game reads WordHunterWoWExport; the saved-variables file does,
and the client writes it at logout and at /reload. So rebuildExport now only
marks the export out of date, and PLAYER_LOGOUT builds it once
(Addon.flushExport, on a frame of its own so that the export does not depend on
what the handler in Init.lua does at logout). /whw export still builds it at
once. For the same data the string written is byte-identical to the one the old
code wrote.
commit 17cea0d30ae707c2dfd6c07d6cfd66f085ba588c
Author: Ironship <oleg.szew@outlook.com>
Date: Fri Nov 20 17:05:30 2026 +0100
Build the saved export once, at logout, not at every login and new encounter
Addon.rebuildExport sorted every saved word and ran five gsub callbacks per
word: about 90 ms and 3 MB of garbage for 2,800 words. It ran in
initializeDatabase at every login (most of the work of ADDON_LOADED) and in
trackQuestEncounters whenever reading a quest recorded a new encounter, which
is a hitch of about 100 ms each time in a run against a stand-in with the real
saved variables.
Nothing in the game reads WordHunterWoWExport; the saved-variables file does,
and the client writes it at logout and at /reload. So rebuildExport now only
marks the export out of date, and PLAYER_LOGOUT builds it once
(Addon.flushExport, on a frame of its own so that the export does not depend on
what the handler in Init.lua does at logout). /whw export still builds it at
once. For the same data the string written is byte-identical to the one the old
code wrote.
commit e62708efb19dbcc37489d0dafc300e14e75519b0
Author: Ironship <oleg.szew@outlook.com>
Date: Fri Nov 13 14:33:48 2026 +0100
Give the pad hints of the recall strip a row of their own
They were appended to the prompt, which is already most of a line wide, so
with the icons the tail wrapped onto the scale line and the 1-5 buttons.
The hints now sit on a separate row and the buttons move down 18 px.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

