mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
07cef612c3
This change adds a TLS freelist for small dynamic memory allocations. Cosmopolitan's TIB is now 512 bytes in size. Single-threaded malloc() performance isn't impacted by this, until pthread_create() is called. Single-threaded programs may also want to consider using: #include "libc/mem/tinymalloc.inc" Which will shave 30k off the executable size and sometimes go faster. |
||
---|---|---|
.. | ||
calls | ||
fmt | ||
intrin | ||
log | ||
mem | ||
nexgen32e | ||
proc | ||
runtime | ||
sock | ||
stdio | ||
str | ||
thread | ||
time | ||
tinymath | ||
x | ||
xed | ||
BUILD.mk |