December 11, 2021 Learn » Re: How to loop through characters of a string in D language? | |||
|---|---|---|---|
| |||
ok. fine. no unnecessary, hidden allocations then. // ------------------ module test; import core.stdc.stdio : putchar; nothrow... | |||
December 11, 2021 Learn » Re: How to loop through characters of a string in D language? | |||
|---|---|---|---|
| |||
Using libraries can trigger hidden allocations.
```
import std.stdio;
string garbagefountain(string s){
if (s... | |||
December 08, 2021 Issues » [Issue 12751] Avoid heap allocations in some cases of array concatenation | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=12751 Stanislav Blinov <stanislav.blinov@gmail.com... | |||
December 08, 2021 General » Re: How to convert C to D using compiler? | |||
|---|---|---|---|
| |||
...you referring to liberal use of GC allocations in druntime/Phobos? It works well when... | |||
December 05, 2021 Issues » [Issue 21929] delegates capture do not respect scoping | |||
|---|---|---|---|
| |||
...at a glance, as it would hide allocations. Not that you can't detect that... | |||
December 03, 2021 General » Re: [OffTopic] A vulnerability postmortem on Network Security Services | |||
|---|---|---|---|
| |||
That said, that applies to heap allocations and not the stack, I think. I don... | |||
December 03, 2021 General » Re: [OffTopic] A vulnerability postmortem on Network Security Services | |||
|---|---|---|---|
| |||
...debug/tagged-pointers Note the "all heap allocations" on the documentation and it being enabled... | |||
December 03, 2021 General » Re: [OffTopic] A vulnerability postmortem on Network Security Services | |||
|---|---|---|---|
| |||
...small, to avoid tagging costs. 3. Avoid allocations/freeing of memory. This is an issue... | |||
November 30, 2021 General » Re: Want reasonable reference counting? Disable automatic sharing of immutable | |||
|---|---|---|---|
| |||
...a hint: Don't do many small allocations. There is an overhead regardless of RC... | |||
November 30, 2021 Issues » [Issue 22554] New: moveEmplace should wipe any source that contains pointers | |||
|---|---|---|---|
| |||
...programs that use GC and not manual allocations. Seeing as move/moveEmplace are mechanisms to... | |||
Copyright © 1999-2021 by the D Language Foundation