diff options
author | Ran Benita <ran@unusedvar.com> | 2019-11-02 16:19:32 +0200 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2021-04-27 16:41:32 +0300 |
commit | 16fe837d8dfb325f1f8d8da17bf1f8709e0df9b2 (patch) | |
tree | 27dd1b3c37aee99bb075662a3ac8747d1bae8afc /src/registry.c | |
parent | baf5522649954d54ebb0227d42ceb71c7c6ea32c (diff) | |
download | xorg-lib-libxkbcommon-16fe837d8dfb325f1f8d8da17bf1f8709e0df9b2.tar.gz |
atom: rewrite as a hash table
While the previous 1987-style[0] scheme was fun (and I reasonably
optimized it for a fair comparison), this task is more suited to a hash
table. Even a simple implementation beats the old one.
[0] Seems to have first appeared in X11R1, released September 1987.
See server/dix/atom.c here: https://www.x.org/releases/X11R1/X.V11R1.tar.gz
Signed-off-by: Ran Benita <ran@unusedvar.com>
Diffstat (limited to 'src/registry.c')
0 files changed, 0 insertions, 0 deletions