haskell / haskell/vector

Question about the performance of fused vector operations

Open
#259 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
400
Forks
145
PR merge metrics
No merged PRs in 30d

Description

Hi,
I have profiled some of my code that is using `Data.Vector.Unboxed` and to my confusion the biggest cost centre is the `(>>=)` on `Identity` from `Data.Vecor.Fusion.Util`.
In fact, it is individually responsible for 18% of my execution time. Together with its children it is responsible for 87% of the time, which is expected because my program is basically only using Vectors. I am not familiar with the stream fusion internals of `Data.Vector`.

Is this performance normal?

One detail about my code: I am mostly using map/fold and I need to store a lot of intermediate result vectors in a datastructure.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.