columnar struct storage template

Nestor via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Jan 29 05:09:18 PST 2017


On Saturday, 13 December 2008 at 21:13:52 UTC, BCS wrote:
> If you have an array of structs that is primarily accessed by 
> columns (the same member in each item) rather than by rows (all 
> members in a given item) it can be faster to store the members 
> each in there own array. The Columns template automates this 
> for POD struct types.
>
> http://www.dsource.org/projects/scrapple/browser/trunk/columns/columns.d

This no longer compiles on recent versions of DMD :(


More information about the Digitalmars-d-announce mailing list