[Issue 8550] std.container.InlinedArray

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 15 06:30:39 PDT 2012


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


Daniel Cousens <daniel350 at bigpond.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |daniel350 at bigpond.com


--- Comment #1 from Daniel Cousens <daniel350 at bigpond.com> 2012-08-15 06:30:37 PDT ---
This is a very cool idea. 

The concept put simply is just your typical dynamic array with a pre-allocated
buffer that it *can* use up until it surpasses that buffer, in which case that
buffer is then ignored (at the cost of the size of the buffer, which is
probably negligible in most cases).

The only problems I can foresee is perhaps little 'gotchas' in that union of a
dynamic array and static array. I'd have to investigate to know for sure on
that. 
Lots of unit tests for this I think, and definitely some information needed
from those in the know about the compiler back end.

-- 
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