Files
haiku-beta6/headers/os/interface
Augustin Cavalier ad37e9a395 BWindow: Use a SplayTree to store shortcuts.
This makes for much faster lookups, and avoids the need
to allocate an array.

sizeof(BWindow) is unchanged (on x86_64, 504; on x86, 376)
so this should not break ABI/API.

Quick benchmark in Tracker:
501 lookups, before: ~488 usec
501 lookups, after: ~284 usec

Change-Id: Ica2c728f0c5957380add53e14a826a4aade52df0
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10720
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-04-13 19:24:34 +00:00
..
2026-01-03 13:41:24 +00:00
2020-03-23 01:30:23 +00:00
2023-05-24 10:58:48 +00:00
2025-05-21 20:23:53 +00:00
2020-03-23 01:30:23 +00:00
2026-01-04 22:56:43 +00:00