Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions changelog/std-aligned-block-list.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Implemented a new allocator, `AlignedBlockList` and its thread-safe version `SharedAlignedBlockList`

$(REF AlignedBlockList, std,experimental,allocator,building_blocks, aligned_block_list) represents
a list of allocators which allows for deallocations in constant time.
Although allocations are in theory served in linear searching time, `deallocate` calls take
$(BIGOH 1) time, by using aligned allocations. The `ParentAllocator` must implement `alignedAllocate`.

$(REF SharedAlignedBlockList, std,experimental,allocator,building_blocks, aligned_block_list) has the
same semantics as its single threaded version, however the internal allocators must be in addition marked
as shared.
4 changes: 2 additions & 2 deletions posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ PACKAGE_std_experimental_logger = core filelogger \
PACKAGE_std_experimental_allocator = \
common gc_allocator mallocator mmap_allocator package showcase typed
PACKAGE_std_experimental_allocator_building_blocks = \
affix_allocator allocator_list ascending_page_allocator bucketizer \
fallback_allocator free_list free_tree bitmapped_block \
affix_allocator aligned_block_list allocator_list ascending_page_allocator \
bucketizer fallback_allocator free_list free_tree bitmapped_block \
kernighan_ritchie null_allocator package quantizer \
region scoped_allocator segregator stats_collector
PACKAGE_std_net = curl isemail
Expand Down
Loading