Skip to content

feat: add xyFromInterleaved and xyToInterleaved#371

Merged
lpatiny merged 8 commits into
mainfrom
feat/xy-interleaved
May 12, 2026
Merged

feat: add xyFromInterleaved and xyToInterleaved#371
lpatiny merged 8 commits into
mainfrom
feat/xy-interleaved

Conversation

@lpatiny
Copy link
Copy Markdown
Member

@lpatiny lpatiny commented May 12, 2026

Summary

  • Add xyFromInterleaved to convert a flat [x, y, x, y, ...] array to a DataXY object
  • Add xyToInterleaved to convert a DataXY object back to a flat interleaved array
  • Both functions tested with basic cases, edge cases (empty, Float64Array), and a round-trip test

Convert between flat [x,y,x,y,...] arrays and DataXY objects.
@lpatiny lpatiny enabled auto-merge (squash) May 12, 2026 07:05
@codecov
Copy link
Copy Markdown

codecov Bot commented May 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.15%. Comparing base (904d97c) to head (210820b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #371      +/-   ##
==========================================
+ Coverage   97.14%   97.15%   +0.01%     
==========================================
  Files         204      206       +2     
  Lines        4100     4116      +16     
  Branches     1031     1031              
==========================================
+ Hits         3983     3999      +16     
  Misses        113      113              
  Partials        4        4              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lpatiny lpatiny force-pushed the feat/xy-interleaved branch from 9f147f4 to 4692d6b Compare May 12, 2026 07:25
@lpatiny lpatiny disabled auto-merge May 12, 2026 07:32
@lpatiny
Copy link
Copy Markdown
Member Author

lpatiny commented May 12, 2026

@targos Why it waits for node 20 ? Can you fix this ?

@lpatiny lpatiny merged commit 48da090 into main May 12, 2026
10 checks passed
@lpatiny lpatiny deleted the feat/xy-interleaved branch May 12, 2026 08:50
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