Commit graph

7 commits

Author SHA1 Message Date
d723c7d9df System/FFI/TrueType: Reduce memory pool size from 32MB to 8MB
The maximum allocated memory by stbtt_RenderText() has never exceeded
2MB during testing. 8MB ought to be enough for anybody :^)
2025-04-20 10:09:58 -04:00
39973f452d Meta: Suppress compiler warnings 2025-04-19 21:38:13 -04:00
a322c06850 Everywhere: Give stbtt its own 32MB static memory pool
At boot time, we preallocate 32MB of RAM to reuse for all malloc()
requests by stbtt_RenderText(), which should be more than enough for the
primary use case (browsing web pages).
2025-04-19 21:01:14 -04:00
b40820272f System/Setup/Environment+FFI/LibC: Increase calloc/malloc mem_tasks
Give LibC malloc() and calloc() an array of 16 mem_tasks each, for now.
We will probably be removing this, in favor of giving each non-HolyC
library its own static memory pool, as we will do with stb_truetype.h in
a forthcoming commit.
2025-04-19 20:33:30 -04:00
d56a092dde System/FFI/LibC: Use Round-robin mem_task selection for calloc 2025-04-19 16:26:09 -04:00
e7d8b456aa Everywhere: Update to clang-format 20 2025-04-19 07:31:54 -04:00
39198164cd Meta: Add files to repository 2025-03-25 07:34:41 -04:00