Skip to content
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

Fully implement data slice API #526

Merged
merged 7 commits into from
Apr 7, 2019
Merged

Fully implement data slice API #526

merged 7 commits into from
Apr 7, 2019

Conversation

sc1f
Copy link
Contributor

@sc1f sc1f commented Apr 7, 2019

This PR implements the t_data_slice API in use for 0 and 1-sided contexts, and fully integrates it into perspective.js and 2-sided contexts. It correctly skips header rows for sorted 2-sided contexts, and provides a unified get(row_index, col_index) API. This allows data serialization to be easily implemented and extensible.

  • Data slice works for 2-sided views
  • t_data_slice and View are documented in the header files
  • additional tests to prevent regression

@sc1f sc1f requested review from texodus and timkpaine April 7, 2019 16:15
@texodus texodus merged commit e1de43c into master Apr 7, 2019
@texodus texodus deleted the data-slice-2-side branch April 7, 2019 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants