cosmopolitan/third_party/python/Modules/cjkcodecs/__cp950ext_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

20 lines
925 B
C

#include "libc/x/x.h"
/* clang-format off */
static _Atomic(void *) __cp950ext_decmap_ptr;
static const unsigned char __cp950ext_decmap_rodata[92] = {
0x3b, 0xd7, 0xc0, 0xb8, 0xee, 0x3f, 0x1b, 0x03, 0x04, 0xdc, 0x64, 0xbb, 0x05,
0x63, 0xd2, 0x11, 0xcc, 0xfd, 0xcb, 0x3e, 0xef, 0x2f, 0x3b, 0x01, 0x45, 0xfb,
0x99, 0x0e, 0x30, 0xa1, 0x08, 0x5c, 0xfc, 0xca, 0xc6, 0xd1, 0xce, 0xb4, 0xec,
0x23, 0xdb, 0x1a, 0x36, 0x43, 0x23, 0x6b, 0xa6, 0x97, 0x7f, 0xd8, 0x56, 0xdd,
0x67, 0xfa, 0x90, 0x71, 0x59, 0x7d, 0xf9, 0x01, 0xc6, 0x75, 0x72, 0xab, 0x0a,
0x6f, 0xb6, 0x31, 0x9e, 0xbe, 0xc6, 0xa8, 0x22, 0x2b, 0x24, 0x21, 0x28, 0x28,
0x27, 0x2e, 0x0a, 0x63, 0xf0, 0xc3, 0x45, 0x18, 0xad, 0x98, 0x58, 0x18, 0x3d,
0x00,
};
optimizesize void *__cp950ext_decmap(void) {
return xloadzd(&__cp950ext_decmap_ptr,
__cp950ext_decmap_rodata,
92, 256, 224, 2, 0x852ba419u); /* 20.5357% profit */
}