-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Milestone
Description
Given that there are likely a number of breaking changes coming down the pike, this might be a good time to think about whether keeping each channel's data contiguous is the right design.
Pros of channel-major:
- operations that run across an individual channel are fast (memory locality and SIMD-able)
- We usually think of
Vector
s as being vertical, which means that 1D SampleBufs and 1-channel 2D (Nx1) SampleBufs map onto each other. That said, I've always found that distinction to be a bit awkward anyways.
Pros of frame-major:
- Keeping each frame contiguous would be more compatible with streaming data, which is fundamentally interleaved
- time-slices of a multichannel signal would be contiguous
There are probably other pros and cons I'm not thinking of right now. I just wanted to mark this to see if anyone had thoughts, given that there's a bit of activity lately.
Metadata
Metadata
Assignees
Labels
No labels