Skip to content

Length doesn't seem to inline properly #111

Description

@gbaz

As discussed here: http://stackoverflow.com/questions/36095925/why-vector-length-vector-replicate-n-0-is-not-fused

In simple test programs, Data.Vector.Generic.length seems to refuse to inline, for no apparent reason.

See #97 as perhaps related?

Activity

  1. gbaz commented on Mar 19, 2016

    @gbaz
    Author

    In the SO discussion, it appears to be because in the latest Vector, ghc marks length as a loop-breaker.

  2. cartazio commented on Mar 19, 2016

    @cartazio
    Contributor

    Huh, is that version of length not written in terms of length on stream /
    bundle or as a worker wrapper?

    On Saturday, March 19, 2016, gbaz [email protected] wrote:

    In the SO discussion, it appears to be because in the latest Vector, ghc
    marks length as a loop-breaker.

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly or view it on GitHub
    #111 (comment)

  3. takano-akio commented on Feb 17, 2017

    @takano-akio
    Contributor

    I believe #155 fixes this.

  4. added this to the 0.13 milestone on Jun 11, 2020
  5. added a commit that references this issue on Jun 20, 2020
  6. added a commit that references this issue on Jun 21, 2020
  7. Shimuuar commented on Jun 21, 2020

    @Shimuuar
    Contributor

    Finally fixed in #307

  8. added a commit that references this issue on Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions