ladybird/Meta
Timothy Flynn 3ad159537e LibUnicode: Use u16 for unique string indices instead of size_t
Typically size_t is used for indices, but we can take advantage of the
knowledge that there is approximately only 46K unique strings in the
generated UnicodeLocale.cpp file. Therefore, we can get away with using
u16 to store indices. There is a VERIFY that will fail if we ever exceed
the limits of u16.

On x86_64 builds, this reduces libunicode.so from 9.2 MiB to 7.3 MiB.
On i686 builds, this reduces libunicode.so from 3.9 MiB to 3.3 MiB.

These savings are entirely in the .rodata section of the shared library.
2021-10-15 00:06:18 +01:00
..
Azure Meta: Run check-markdown as part of 'Azure Linux NoFuzz' 2021-10-10 15:18:55 -07:00
CMake RequestServer: Don't hide the SIGINFO state dump behind a debug macro 2021-10-01 20:17:15 +02:00
Lagom LibUnicode: Use u16 for unique string indices instead of size_t 2021-10-15 00:06:18 +01:00
ShellCompletions/zsh Meta: Add basic Zsh completions for serenity.sh 2021-04-22 09:55:48 +02:00
Websites Everywhere: Change from http to https where feasible 2021-10-05 02:08:08 +02:00
bochsrc Meta: Increase RAM amount for Bochs 2021-06-25 15:19:09 +02:00
build-image-extlinux.sh Meta: Fix syslinux detection on Arch Linux 2021-07-20 15:12:19 +02:00
build-image-grub.sh Meta: Run 'du' with '--apparent-size', except on macOS 2021-05-16 22:50:46 +01:00
build-image-qemu.sh Meta: Assume and find GNU du 2021-08-18 10:59:50 +02:00
build-root-filesystem.sh Meta: Switch to a SuperBuild that splits host and target builds 2021-09-15 19:04:52 +04:30
check-ak-test-files.sh Meta: Tweak the error in check-ak-test-files.sh a bit 2021-09-14 21:33:15 +04:30
check-debug-flags.sh Meta: Remove references to Userland/Libraries/LibELF/exec_elf.h 2021-04-19 09:19:31 +02:00
check-markdown.sh Meta: Run check-markdown as part of 'Azure Linux NoFuzz' 2021-10-10 15:18:55 -07:00
check-newlines-at-eof.py Tests: Add regression tests for the LibCpp preprocessor 2021-08-14 12:40:55 +02:00
check-style.sh Tests: Add regression tests for the LibCpp preprocessor 2021-08-14 12:40:55 +02:00
check-symbols.sh CI: Don't fail check-symbols if symbol is defiend somewhere else 2021-03-19 22:55:53 +01:00
check-syscall-lists.sh Meta: Check consistency of various syscall tables 2021-01-23 16:47:09 +01:00
debug-kernel.sh Meta: Set SERENITY_ARCH if it is not set in debug-kernel.sh 2021-09-17 09:16:40 +00:00
extlinux.conf Meta: Update extlinux config for the recent prekernel changes 2021-07-20 15:12:19 +02:00
generate-embedded-resource-assembly.sh Meta: Get building on NixOS (#5005) 2021-01-22 17:44:05 +01:00
generate-libwasm-spec-test.py Meta: Implement support for the "unlinkable" Wasm spectest assertion 2021-08-30 22:47:02 +02:00
generate-libwasm-spec-test.sh Meta: Run the Wasm spec tests in CI 2021-05-27 17:28:41 +04:30
grub-ebr.cfg Kernel: Fix GRUB config by specifying the correct file name 2021-07-18 22:08:03 +02:00
grub-gpt.cfg Kernel: Fix GRUB config by specifying the correct file name 2021-07-18 22:08:03 +02:00
grub-mbr.cfg Kernel: Fix GRUB config by specifying the correct file name 2021-07-18 22:08:03 +02:00
install-ports-tree.sh Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIR 2021-04-20 15:27:52 +02:00
lint-ci.sh Meta: Invoke markdown-checker if available while linting 2021-10-10 15:18:55 -07:00
lint-clang-format.sh Tests: Add regression tests for the LibCpp preprocessor 2021-08-14 12:40:55 +02:00
lint-commit.sh CI+Meta: Add Signed-off-by tag filter to the commit message linter 2021-09-07 20:46:34 +01:00
lint-executable-resources.sh Meta: Get building on NixOS (#5005) 2021-01-22 17:44:05 +01:00
lint-ipc-ids.sh Meta: Get building on NixOS (#5005) 2021-01-22 17:44:05 +01:00
lint-keymaps.py Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
lint-missing-resources.sh Meta: Get building on NixOS (#5005) 2021-01-22 17:44:05 +01:00
lint-ports.py Meta: Update lint-ports.py for the SerenityPorts move 2021-08-30 20:49:37 +02:00
lint-prettier.sh Meta: Get building on NixOS (#5005) 2021-01-22 17:44:05 +01:00
lint-python.sh Meta: Get building on NixOS (#5005) 2021-01-22 17:44:05 +01:00
lint-shell-scripts.sh Meta: Enable linting of shell scripts under Toolchain 2021-05-05 21:26:37 +02:00
new-project.sh Meta: Add new-project.sh :^) 2021-08-13 21:12:17 +04:30
refresh-serenity-qtcreator.sh Meta: Make QtCreator aware of all CMake files 2021-09-15 20:21:19 +00:00
run.sh Meta: Pass -serial stdio to qemu on aarch64 2021-09-26 23:14:01 +00:00
screenshot-000ccc0.png Meta: Update ReadMe with a new screenshot. :^) 2019-02-12 15:47:37 +01:00
screenshot-0f85753.png Meta: Update the screenshot in the ReadMe :^) 2021-04-04 09:57:36 +02:00
screenshot-8ea4375.png Meta: Time for a new screenshot! :^) 2020-06-02 19:29:31 +02:00
screenshot-1133aca.png Meta: Time for a new screenshot (Quake edition) :^) 2019-11-06 21:51:33 +01:00
screenshot-9145a72.png Meta: Time for a new screnshot! :^) 2019-09-18 12:15:02 +02:00
screenshot-23263aa.png Meta: Update ReadMe with a new screenshot :^) 2019-02-27 13:17:43 +01:00
screenshot-191112e.png Meta: Time for a new screenshot to keep things fresh. :^) 2019-06-07 18:14:13 +02:00
screenshot-b5521e1.png Meta: Time for a new screenshot! :^) 2019-03-08 01:10:33 +01:00
screenshot-b36968c.png README+Meta: Update the screenshot :^) 2021-08-18 14:27:37 +02:00
screenshot-cdb82f6.png Meta: Tweak ReadMe and add a new screenshot. 2019-03-20 15:52:37 +01:00
screenshot-d727005.png Meta: Tweak ReadMe and add a new screenshot. 2019-04-30 15:27:35 +02:00
screenshot-ef9fbef.png Meta: Time for a new screenshot :^) 2019-04-06 01:31:12 +02:00
screenshot-f8fc892.png Add a little ReadMe. 2019-02-08 11:06:34 +01:00
serenity.sh Meta: Warn on rebuild-toolchain i686 clang 2021-10-07 18:34:13 +03:00
serenity_gdb.py Meta: Remove gdb pretty printer for AK::InlineLinkedList 2021-06-16 10:40:01 +02:00
text-to-cpp-string.sh Meta: Use a bash shebang for text-to-cpp-string.sh 2021-01-22 18:41:08 +01:00
tweet-commits.js Meta: Ensure long messages fit in commit tweet 2021-06-18 13:34:17 +01:00