January 13, 2021 Learn » Re: Why many programmers don't like GC? | |||
|---|---|---|---|
| |||
...than the rest of the program's allocations. But, garbage collectors typically require three to... | |||
January 12, 2021 Learn » Re: properly passing strings to functions? (C++ vs D) | |||
|---|---|---|---|
| |||
...the change, use this. There are no allocations for this. alias string = immutable(char)[]; https... | |||
January 11, 2021 Learn » properly passing strings to functions? (C++ vs D) | |||
|---|---|---|---|
| |||
...any sense in D to avoid additional allocations? A D-Style String could be seen... | |||
January 03, 2021 General » Re: alloca is slow and dangerous | |||
|---|---|---|---|
| |||
...case on the stack and uncommon big allocations on heap. I'm not following you | |||
January 01, 2021 Learn » Re: C++ or D? | |||
|---|---|---|---|
| |||
...with heap allocations, although it can be clever with values (e.g. stack allocations). So... | |||
January 01, 2021 Learn » Re: C++ or D? | |||
|---|---|---|---|
| |||
...for the compiler to be smart about allocations. So, those things ought to be language... | |||
December 29, 2020 Learn » Re: C++ interop, abstract struct problem | |||
|---|---|---|---|
| |||
...IAllocator();
alias base this;
//--------------------------------
ubyte* m_small_allocations = null;
void*[4] m_free_lists;
uint... | |||
December 28, 2020 Learn » C++ interop, abstract struct problem | |||
|---|---|---|---|
| |||
...struct) class DefaultAllocator : IAllocator
{
ubyte* m_small_allocations = null;
void*[4] m_free_lists;
uint... | |||
December 27, 2020 General » Re: opIndexMember | |||
|---|---|---|---|
| |||
...types: - multiple array concatenation without multiple re-allocations, e.g. `a ~ b ~ c` gets rewritten... | |||
December 26, 2020 Learn » Re: Surprising behaviour of std.experimental.allocator | |||
|---|---|---|---|
| |||
...Maybe AllocatorList should be registering its GC allocations as roots? As a solution/workaround, you... | |||
Copyright © 1999-2021 by the D Language Foundation