Re: Understanding gc memory profile report

2017-09-08 Thread Ali Çehreli via Digitalmars-d-learn
Although I responded below, I'm curious on what others think about this question. On 09/08/2017 02:13 AM, John Burton wrote: > I wrote this simple program to test out my understanding of memory > allocation :- I changed it to display the location and capacity: import std.stdio; void

Understanding gc memory profile report

2017-09-08 Thread John Burton via Digitalmars-d-learn
I wrote this simple program to test out my understanding of memory allocation :- import std.stdio; void main() { int [] array = new int[250]; writeln(array.length, " elements ", array); // Append one value to the array array ~= 123;