elixir-tensor icon indicating copy to clipboard operation
elixir-tensor copied to clipboard

Create a faster implementation of `Enumerable.slice/1`

Open Qqwy opened this issue 6 years ago • 0 comments

Currently we use the default {:error, __MODULE__} implementation of the new Enumerable.slice/1 protocol function.

However, it definitely is possible to write a faster implementation for Tensor; I haven't gotten around to it yet unfortunately.

(c.f. h Enumerable.slice and t Enumerable.slicing_fun)

Qqwy avatar Apr 18 '19 17:04 Qqwy