October 28, 2022 Issues » [Issue 15481] GC profiler thinks reducing array.length triggers reallocation | |||
|---|---|---|---|
| |||
...Running the example today yields:
bytes allocated, allocations, type, function, file:line
32» 1»int[] D... | |||
October 26, 2022 General » Re: DIP1000 scope inference proposal | |||
|---|---|---|---|
| |||
...m actually OK with backends using stack allocations because it can prove they aren't... | |||
October 26, 2022 General » Re: C++ pattern matching is coming | |||
|---|---|---|---|
| |||
...s a great use case (vibe uses lots of little allocations for each request). -Steve | |||
October 26, 2022 General » Re: DIP1000 scope inference | |||
|---|---|---|---|
| |||
...not do the inference, or not hoist allocations to the stack based on that inference... | |||
October 25, 2022 General » Re: DIP1000 scope inference | |||
|---|---|---|---|
| |||
...declared scope shall not result in memory allocations hoisting to the stack". I can deal... | |||
October 21, 2022 Learn » Re: DConf '22: No-Allocated 0-terminated path strings | |||
|---|---|---|---|
| |||
...0..i]);
}
}
```
Unfortunately this version does multiple allocations if contents of the range do not... | |||
October 21, 2022 Learn » DConf '22: No-Allocated 0-terminated path strings | |||
|---|---|---|---|
| |||
...types and needs to iterate twice if allocations are going to be allowed, and walkLength... | |||
October 16, 2022 General » Re: Memory safe and coroutines are the focus of D. | |||
|---|---|---|---|
| |||
...value types which can cause more heap allocations without you knowing it. If D would... | |||
October 15, 2022 Learn » Re: best memory profiler (to debug accumulated allocation of each line) for D? | |||
|---|---|---|---|
| |||
...and found the problem was in a underlying C library doing lots of small allocations. | |||
October 04, 2022 Learn » Re: Remove elements without losing capacity | |||
|---|---|---|---|
| |||
...to cancel previous capacity and > requiring new allocations is exactly to prevent overwriting data that... | |||
Copyright © 1999-2021 by the D Language Foundation