Commit graph

19 commits

Author SHA1 Message Date
Andrei Alexandrescu
499ecfedc5 Moved a bunch of building blocks into a new package building_blocks 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
e0ad05d7b0 Name change: .it -> .instance for all allocators 2015-10-02 07:35:09 -04:00
Hackerpilot
710d85d622 Clean up various things discovered by D-Scanner 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
20bfef3f3e Unify static and dynamic method signatures 2015-10-02 07:35:09 -04:00
Andrei Alexandrescu
5cc39d3688 KRBlock into KRRegion with region/freelist modes; fixes in Bucketizer; small changes to NullAllocator and dox 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
193948de00 KRBlock's freelist is now circular (that was brutal...) 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
faecd0a95f Make KRBlock uncopyable 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
e87abcdc60 Add BookkeepingAllocator parameter to AllocatorList; add global expand() to common but commented out - causes trouble; small improvement in fallback_allocator; small improvements to free_list; fix in GCAllocator.expand 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
c537f012a6 Fix 32-bit unittests in kernighan_ritchie 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
09002ae84f Minor changes to allocator_list; add fallback_allocator.fallbackAllocator; dox for kernighan_ritchie; eliminate KRBlock.totalAllocated 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
5d88d9b6e3 Many fixes and improvements to allocator_list.d; nuke KRAllocator in favor of AllocatorList!KRBlock (noice). 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
ae0aa239b9 Refactoring of KRBlock, still WIP 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
4511ea31f2 KRBlock is now a template accepting an optional parent allocator (WIP) 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
ed5a6ca6db allocate(0) should return null 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
3ae9dc9fce Improve imports for kernighan_ritchie 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
e7ffe33977 Changes prompted by https://github.com/D-Programming-Language/dmd/pull/2885 and isnan->isNaN 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
b9006c5d86 WIP on kernighan_ritchie 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
6a3f8cafa0 Minor changes for fixing doc generation 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
3715002fde Added the kernighan_ritchie allocator 2015-10-02 07:35:07 -04:00