From a9b415866c12b2672091573721c5bdb01db8a7d0 Mon Sep 17 00:00:00 2001 From: Taylan Kammer Date: Wed, 19 Aug 2026 22:54:45 +0200 Subject: Meta Alloc improvement and doc fix. --- doc/0/A-meta_alloc.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/0') diff --git a/doc/0/A-meta_alloc.md b/doc/0/A-meta_alloc.md index 577f066..e339db7 100644 --- a/doc/0/A-meta_alloc.md +++ b/doc/0/A-meta_alloc.md @@ -210,12 +210,11 @@ values used by the implementation are as follows: * Maximum count: 16 indexes -* Smallest size class: 256 bytes +* Smallest size class: 128 bytes The extra index array starts after 64 bytes, and requires 64 bytes, since it stores up to 16 32-bit integers; that's a total size of 128, -which fits within 256, and means we could decrease the smallest size -to 128 as well if deemed more appropriate. +which fits exactly into the smallest size. The 64-byte padding is to allow for efficient bulk memory transfer using up to 512-bit SIMD instructions on modern processors. -- cgit v1.2.3