mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d530ec1b69
Instead of calling nsAString::Assign several hundred times along with a switch statement that may or may not get translated into a jump table, let's implement our own lookup table that we can guarantee will be constant time. The KeyNameTable struct is used instead of the more obvious |const char* const table[]| idiom to avoid runtime relocations. |
||
---|---|---|
.. | ||
x11 | ||
Makefile.in | ||
moz.build | ||
NativeKeyToDOMKeyName.h | ||
nsShmImage.cpp | ||
nsShmImage.h | ||
SharedWidgetUtils.cpp | ||
WidgetEventImpl.cpp | ||
WidgetUtils.h |