October 13, 2007 Large array will affect GC? | ||||
---|---|---|---|---|
| ||||
Attachments: | Hi, I have code, when run, it print following GC states: ------------------------------ 1900544, 368, 228, 16016, 4 1900544, 368, 170, 16016, 5 1900544, 432, 54, 15952, 7 1900544, 336, 229, 11952, 4 1900544, 400, 112, 15984, 6 ------------------------------- If I uncomment "import esdcl;" statement, then it print following GC states: ------------------------------ 2686976, 400, 72, 15984, 10 5308416, 464, 132, 15920, 20 7667712, 368, 128, 16016, 30 10027008, 688, 124, 15696, 40 12648448, 464, 184, 15920, 50 ------------------------------ The attachment is the code.... Thanks Eric |
Copyright © 1999-2021 by the D Language Foundation