mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
8c645fa1ee
It's now possible to create thousands of thousands of sparse independent memory mappings, without any slowdown. The memory manager is better with tracking memory protection now, particularly on Windows in a precise way that can be restored during fork(). You now have the highest quality mem manager possible. It's even better than some OSes like XNU, where mmap() is implemented as an O(n) operation which means sadly things aren't much improved over there. With this change the llamafile HTTP server endpoint at /tokenize with a prompt of 50 tokens is now able to handle 2.6m r/sec |
||
---|---|---|
.. | ||
array.c | ||
BUILD.mk | ||
nsync_counter.c | ||
nsync_cv.c | ||
nsync_debug.c | ||
nsync_mu_wait.c | ||
nsync_note.c | ||
nsync_once.c | ||
nsync_sem_wait.c | ||
nsync_wait.c |