[Issue 4091] Small docs page about dynamic array implementation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 19 01:14:05 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4091



--- Comment #2 from bearophile_hugs at eml.cc 2010-04-19 01:14:03 PDT ---
I don't understand what your point it.

D dynamic arrays are not simple things, they contain pointers, length, the GC
keeps the length of the allocated memory, they have a capacity and a cache.
They are managed by the GC, so they are not just are chunk of raw memory. So an
append to a D dynamic array is an abstraction, it's an high-level operation.

What I meant to say is that to program in D it's quite important to understand
this specific abstraction. So in my opinion a docs page about them can be
useful.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list