Commit graph

247 commits

Author SHA1 Message Date
Andrei Alexandrescu
3ae9dc9fce Improve imports for kernighan_ritchie 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
315b2625fa AutoDeallocator -> ScopedAllocator by Jacob Carlborg's suggestion 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
95c2ee20df More Quantizer fixes prompted by Timon Gehr 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
bd74dd873e Add auto_deallocator.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
8ff52f0997 Add example to region.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
399aaea68b Better region.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
158f9753c1 Add goodAllocSize to HeapBlock*, also ParentAllocator to HeapBlockWithInternalPointers 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
2e435bd4d0 Add alignedAllocate/Reallocate, improve documentation 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0d6ae0459d HeapBlock now takes an allocator as a parameter 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
c215f6efb9 Add parameter to make in allocator_list.d 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
0277229e4c Fix 32-bit build 2015-10-02 07:35:08 -04:00
Andrei Alexandrescu
dd57a7bd31 Fix 'last bug' in quantizer prompted by Timon Gehr 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
029c4bc385 Add .empty and documentation to stats_collector; add ability to return unused memory to allocator_list 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
48bc4b7d6c Fix unittest build 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
430c076ff5 Major improvements to allocator_list.d 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
6649349607 Keep constraints on rounding function low 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e6d744a82c Fixes to Quantizer prompted by Timon Gehr 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
103d089d8a Improved docs for quantizer 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
800f817255 Really add std/experimental/allocator/quantizer.d 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
8dab158588 Fix bug in MmapAllocator.deallocate, few more minor changes 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
d1559ebb45 Added Quantizer, implemented fixes pointed by reviews by Brian Schott and Timon Gehr 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1974105221 porcelain in good shape 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
b5c9863b03 Define and use forwardToMember 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
f9736602ef Working FreeTree, good handling of duplicates 2015-10-02 07:35:07 -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
Andrei Alexandrescu
1f88a728e8 Moving unittests around, comment adjustment. Added a TypeInfo parameter to IAllocator.allocate() 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
3fd3a30037 move unittest to package where it fits better 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
c3416158da Separate porcelain from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
309bcef814 Separate bucketizer from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e80539756a Separate segregator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
e9302b1d09 Separate allocator_list from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
8417cafe2d Move unittest to stats_collector 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1abe6daf35 Eliminate dead code 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
24cf76a928 Separate stats_collector from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
20d1b1ba93 Separate mmap_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
faca71602e Separate region from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
6bcf7c2314 Separate free_list from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
34cb8cdcd4 Separate fallback_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
5eb355e43b Separate heap_block from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
4196e25d2f Separate affix_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
892be24145 Separate mallocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
1c1131855c Separate gc_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
2aa08c2711 Separate null_allocator from the rest 2015-10-02 07:35:07 -04:00
Andrei Alexandrescu
61c90dd5ac Rebase 2015-10-02 07:33:43 -04:00