cosmopolitan/third_party/python/Modules/cjkcodecs/jisx0208_decmap.c
Justine Tunney e522aa3a07
Make more threading improvements
- ASAN memory morgue is now lockless
- Make C11 atomics header more portable
- Rewrote pthread keys support to be lockless
- Simplify Python's unicode table unpacking code
- Make crash report write(2) closer to being atomic
- Make it possible to strace/ftrace a single thread
- ASAN now checks nul-terminated strings fast and properly
- Windows fork() now restores TLS memory of calling thread
2022-11-01 23:28:26 -07:00

31 lines
1.7 KiB
C

#include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) jisx0208_decmap_ptr;
static const unsigned char jisx0208_decmap_rodata[] = {
0xed, 0xcb, 0xbf, 0x47, 0xc4, 0x71, 0x00, 0xc6, 0xf1, 0xcf, 0xf7, 0xae, 0xae,
0xbb, 0xea, 0xea, 0xea, 0xea, 0xfa, 0x25, 0x7a, 0x44, 0x11, 0x71, 0x5b, 0x1c,
0xd1, 0x10, 0x11, 0x0d, 0x29, 0x4a, 0x51, 0x22, 0x1a, 0x22, 0x4e, 0x69, 0x28,
0x1e, 0xda, 0x22, 0xda, 0x22, 0xda, 0x22, 0xa2, 0x21, 0x45, 0x34, 0x94, 0x88,
0x86, 0x88, 0x68, 0x8b, 0x68, 0x8b, 0x23, 0x1a, 0x22, 0xda, 0x7a, 0xff, 0x05,
0x69, 0x6b, 0xb9, 0x37, 0x2f, 0xcf, 0xf4, 0x84, 0xf0, 0xff, 0x45, 0x41, 0x9e,
0xc7, 0x75, 0xc8, 0x6f, 0x24, 0x23, 0xad, 0xce, 0x46, 0x5a, 0x3f, 0x8b, 0x34,
0x5d, 0x8a, 0x54, 0x2c, 0xc4, 0x34, 0xf4, 0xdb, 0x77, 0x26, 0x26, 0x5f, 0x22,
0x17, 0x97, 0xd7, 0xf0, 0x84, 0x7c, 0x85, 0xbc, 0x8b, 0x77, 0x8c, 0x56, 0xca,
0xc7, 0x48, 0x24, 0xe4, 0x45, 0xdc, 0xa2, 0xab, 0x4a, 0x36, 0x5e, 0x50, 0x48,
0xca, 0xfb, 0xf8, 0xc2, 0x64, 0x4a, 0x3e, 0x47, 0xa6, 0x5a, 0x5e, 0xc1, 0x03,
0xfa, 0x6a, 0xe4, 0x6d, 0xbc, 0x61, 0xb8, 0x56, 0x3e, 0x44, 0x48, 0xcb, 0x73,
0xb8, 0x4a, 0x6b, 0xe2, 0x83, 0x1d, 0xab, 0x93, 0x4f, 0x90, 0xaa, 0x97, 0x97,
0x70, 0x87, 0xee, 0x8c, 0xbc, 0x85, 0x57, 0x0c, 0x36, 0xc8, 0x07, 0xf8, 0xc6,
0x54, 0xa3, 0x7c, 0x81, 0x6c, 0x56, 0x2e, 0xe2, 0x11, 0xfd, 0x4d, 0xf2, 0x0e,
0x4a, 0x18, 0x69, 0x96, 0x8f, 0x10, 0xcf, 0xc9, 0x0b, 0xb8, 0x41, 0x67, 0x8b,
0xbc, 0x89, 0x67, 0x0c, 0xb4, 0xca, 0x7b, 0xf8, 0xc4, 0x78, 0x9b, 0x7c, 0x8a,
0x74, 0xbb, 0xbc, 0x8c, 0x7b, 0xf4, 0x76, 0xa8, 0x27, 0x94, 0x2b, 0xf7, 0xc7,
0x7e, 0x00,
};
optimizesize void *jisx0208_decmap(void) {
return xload(&jisx0208_decmap_ptr,
jisx0208_decmap_rodata,
236, 1024); /* 23.0469% profit */
}