[Git][wine/wine][master] vbscript: Index named items by name.
Alexandre Julliard pushed to branch master at wine / wine Commits: cb944a2d by Francis De Brabandere at 2026-06-15T22:14:44+02:00 vbscript: Index named items by name. Named item lookups walked the item list linearly, so hosts that register many named items, such as one item per document element, paid a cost proportional to the item count for every host object reference. Keep the items in an rb tree keyed by name, with each tree entry listing the items sharing that name in registration order. With 500 named items, 300k references to the last item drop from 694 ms to 116 ms, and the time no longer depends on item position or count, matching the flat profile measured for native vbscript. - - - - - 2 changed files: - dlls/vbscript/vbscript.c - dlls/vbscript/vbscript.h View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/cb944a2dedbbe4df2cfb09f3e8d945f... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/cb944a2dedbbe4df2cfb09f3e8d945f... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)