There was an error while loading. Please reload this page.
1 parent 50ce723 commit 8356f53Copy full SHA for 8356f53
README.md
@@ -36,7 +36,7 @@ int main()
36
37
### allocators
38
- **salloc::shared_allocator** is simple allocator that allocates and deallocates memory using imported functions `shared_allocate`
39
- and `shared_deallocate`
+ and `shared_deallocate`. All instances of this allocator will allocated and deallocate memory inside one heap.
40
- **salloc::cached_allocator** is allocator that caches deallocated memory (stores pointers to previously allocated memory for further usage).
41
So if you allocating and deallocating memory buffers **of the same size** rapidly you will have a very small number
42
of real memory allocations, because once allocated, this memory buffer will be reused for many times.
0 commit comments