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

Add random access for row objects, get methods for compatibility #5

Merged
merged 2 commits into from
Aug 14, 2024

Conversation

jheer
Copy link
Member

@jheer jheer commented Aug 14, 2024

  • Add Table.at(index) for random access to row object creation.
  • Add get(index) methods to both Table and Column for better Apache Arrow JS compatibility.
  • Add random access performance tests (showing Flechette currently ~2x faster).

Among other things, this PR should make flechette tables compatible with Observable Plot's built-in Arrow table support (observablehq/plot#2115).

@jheer jheer merged commit c8ec41f into main Aug 14, 2024
2 checks passed
@jheer jheer deleted the jh/get branch August 14, 2024 13:11
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.

1 participant