Skip to content

Data.Vector.Fusion.Bundle.Size.Size fields are not strict #452

@konsumlamm

Description

@konsumlamm

The Size type in Data.Vector.Fusion.Bundle.Size is currently defined like this:

data Size = Exact Int          -- ^ Exact size
          | Max   Int          -- ^ Upper bound on the size
          | Unknown            -- ^ Unknown size

Is there any reason why the Int fields aren't strict, so that they can be unboxed? This seems like an obvious improvement, so maybe I'm missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions