Search

January 13, 2021
Learn »
...than the rest of the program's allocations. But, garbage collectors typically require three to...
January 12, 2021
Learn »
...the change, use this.

There are no allocations for this.

alias string  = immutable(char)[];

https...
January 11, 2021
Learn »
...any sense in D to avoid additional allocations?

A D-Style String could be seen...
January 03, 2021
General »
...case on the stack and uncommon big allocations on heap.
I'm not following you
January 01, 2021
Learn »
...with heap allocations, although it can be clever with values (e.g. stack allocations).  So...
January 01, 2021
Learn »
...for the compiler to be smart about allocations. So, those things ought to be language...
December 29, 2020
Learn »
...IAllocator();
        alias base this;
        //--------------------------------

        ubyte* m_small_allocations = null;
        void*[4] m_free_lists;
        uint...
December 28, 2020
Learn »
...struct) class DefaultAllocator : IAllocator
    {
        ubyte* m_small_allocations = null;
        void*[4] m_free_lists;
        uint...
December 27, 2020
General »
...types:

- multiple array concatenation without multiple re-allocations, e.g. `a ~ b ~ c` gets rewritten...
December 26, 2020
Learn »
...Maybe AllocatorList should be registering its GC allocations as roots?

As a solution/workaround, you...
34 35 36 37 38 39 40 41 42 43 44 45
Next ›   Last »