New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional View methods for faster accessing of row and column data. #2048
Conversation
…and into an exposed user API. All of this should be deleted.
Thanks for the PR! This issue has bit-rotted (The bit-rot could be mostly alleviated by squashing and removing the un-necessary whitespace/auto-format changes) and I don't think we ever got to a consistent design for these APIs, specifically, how they replace/augment the existing `view.col_to_js_typed_array(). I think we've determined (through this work) that the current methods are insufficient for the high-performance chart data pipeline we envisioned, but we're not at a solution yet. Closing for now, we'll re-visit this in tandem with charting improvements. |
Also note that any changes like this should also have symmetric changes in python |
Currently much of the data exchange between the perspective data store and charting code happens via calls to
to_json
. This blanket serialization approach might be better served with more precise data accessing. This is especially true when fetching columnar data, where passing a dict and index array can be much faster.