Skip to content

Consider changing INLINE with INLINABLE in various places #24

@ulysses4ever

Description

@ulysses4ever

I'm looking at src/Array.hs and a bunch of its functions are marked INLINE, which is incorrect because the functions are not used in that module, they are only exported, so there is no place to inline them at. If you want to say that this function should be inlined in other modules, you should mark that function as INLINABLE instead.

This probably applies to some other modules besides Array.hs. I fixed it in a bunch of places in sorting modules in the past, but these were only critical places. We probably can gain a little more performance by properly marking the rest.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions