efficiency of extracting sub-arrays

11 views
Skip to first unread message

Ruben Zilibowitz

unread,
Apr 28, 2017, 5:52:01 AM4/28/17
to Accelerate
The functions like "take", "drop", and "slit": can I assume these are constant time for Accelerate arrays? See Extracting sub-arrays.

Trevor McDonell

unread,
Apr 28, 2017, 5:56:19 AM4/28/17
to Accelerate

Yes. The usual fusion rules apply to these.

There are some notes about fusion here, which should hopefully give some intuition on when you can expect things to fuse.

-Trev


On Fri, 28 Apr 2017 at 19:52 Ruben Zilibowitz <ruben.zi...@gmail.com> wrote:
The functions like "take", "drop", and "slit": can I assume these are constant time for Accelerate arrays? See Extracting sub-arrays.

--
You received this message because you are subscribed to the Google Groups "Accelerate" group.
To unsubscribe from this group and stop receiving emails from it, send an email to accelerate-hask...@googlegroups.com.
Visit this group at https://groups.google.com/group/accelerate-haskell.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages