WiresmithTech / tedium

3 stars 1 forks source link

Accept Iterator in Write Channels #38

Open JamesMc86 opened 8 months ago

JamesMc86 commented 8 months ago

In a test application I have a data set of Vec<Vec> that I want to write.

The current API forces this to reallocate into a &[f64] slice. If instead we took an iterator it would prevent the large reallocation.