June 12, 2026
9:24 a.m.
Identifier lookups that resolve into a named item's host dispatch called GetIDsOfNames on the host for every access, while native vbscript resolves a name once and reuses the DISPID afterwards, observable with a host that counts the queries. Cache resolved ids on the named item and drop the cache together with the item's dispatch. A 300k-iteration loop reading a host member now queries the host once instead of 300000 times, matching native. With a host that scans a 1600-entry member table per query the loop drops from 35 s to 0.1 s; with a trivial host the time is unchanged. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11136