Michael Lamparski

Results 115 comments of Michael Lamparski

Hmm. I was about to ask if this means that the code examples in `lib.rs` are incorrect—but then I noticed that there is also a `build` free function, whose output...

Ah! I think that's kind of surprising how the SIMD iterators implement `Iterator`. (though given the circumstances, it is certainly convenient!) Eventually I managed to write this: ```rust pub fn...

> It's possible that returning a user-definable trait might be the missing piece to the puzzle, though. I haven't approached it from that angle before and that should let me...

I prototyped an idea using an HList-like type to reduce boilerplate in custom user impls: https://github.com/ExpHP/rust-zip-simd-idea An example of a custom user type can be seen in the tests of...

On the topic of workarounds, I eventually decided to put the thing as `Yield` output. In order to properly have `yield` respond to the previous `send`, the event handler needs...

A note: The public API I've been prototyping for n-dimensional arrays is: **Reading** The existing API is good enough, we just need a few more getters: ```rust pub enum Order...

Hmmm, eliminating the `Seek` bound from `begin_with_shape` ended up being tricker than I thought it would be. If you try the `PanicSeek` newtype strategy, it ends up having to become...

N.B. `shape()` alone does not imply strides because arrays can either be stored as C-order or Fortran order. `strides()` is just a helper method to help write code that takes...

## Summary of all changes ### Additions / Big changes #### The new serialization traits Serializable has been split up quite a bit, because not all operations can be done...

Results of the existing `bench.rs`: **Before** ``` running 2 tests test read ... bench: 112,028 ns/iter (+/- 6,674) test write ... bench: 895,624 ns/iter (+/- 32,575) ``` **After** ``` running...