Search

December 11, 2021
Learn »
ok. fine. no unnecessary, hidden allocations then.

// ------------------

module test;

import core.stdc.stdio : putchar;

nothrow...
December 11, 2021
Learn »
Using libraries can trigger hidden allocations.

```
import std.stdio;

string garbagefountain(string s){
    if (s...
December 08, 2021
Issues »
https://issues.dlang.org/show_bug.cgi?id=12751

Stanislav Blinov <stanislav.blinov@gmail.com...
December 08, 2021
General »
...you referring to liberal use of GC allocations in druntime/Phobos?

It works well when...
December 05, 2021
Issues »
...at a glance, as it would hide allocations. Not that you can't detect that...
December 03, 2021
General »
That said, that applies to heap allocations and not the stack, I think. I don...
December 03, 2021
General »
...debug/tagged-pointers

Note the "all heap allocations" on the documentation and it being enabled...
December 03, 2021
General »
...small, to avoid tagging costs.

3. Avoid allocations/freeing of memory. This is an issue...
November 30, 2021
General »
...a hint: Don't do many small allocations. There is an overhead regardless of RC...
November 30, 2021
Issues »
...programs that use GC and not manual allocations. Seeing as move/moveEmplace are mechanisms to...
20 21 22 23 24 25 26 27 28 29 30 31
Next ›   Last »