[GSoC] Dataframes for D

jmh530 john.michael.hall at gmail.com
Thu Jul 18 16:23:20 UTC 2019


On Thursday, 18 July 2019 at 15:34:32 UTC, Prateeek Nayak wrote:
> [snip]
>
> * The data in DataFrame is stored as TypeTuple which requires 
> the column index to be known statically. When trying to do a 
> runtime operation on data, I was forced to traverse the tuple 
> statically to find the particular index. Homogeneous DataFrame 
> defined as DataFrame!(int, 5) will give RowType as (int, int, 
> int, int, int).
> For now that overhead still exists but I think isHomogeneous 
> template can open some new door for optimization. I will 
> definitely look into this over the next week. Thanks for 
> bringing it to my notice.

Ah, so what you would want to check is that all the RowTypes are 
the same instead.


More information about the Digitalmars-d mailing list