Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

No, sadly most Javascript APIs seem to use array-of-structs. It is definitely easier to write the code that way. I suspect most graphing libraries start out like that and then by the time they try to plot a heat map with a million points it is too late to fix.

Traditionally plotting libraries like Matlab and Matplotlib work on arrays of data.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: