Vision document for H1 2017
Nick Treleaven via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Fri Jan 13 04:57:28 PST 2017
On Friday, 13 January 2017 at 12:53:16 UTC, Nick Treleaven wrote:
> On Friday, 13 January 2017 at 05:33:07 UTC, Chris Wright wrote:
>> On that topic, D's arrays would play nicer with both
>> refcounting *and* modern garbage collectors if they were
>> structured as base, offset, length instead of start, length.
>
> That might be slower sometimes as slices wouldn't fit in two
> registers then.
Although for custom data structures, offset & length could often
share one register. Then the magic looking up of the base address
can be avoided, saving time.
More information about the Digitalmars-d-announce
mailing list