Skip to content

Encoding performance - toList Data.Sequence vs. foldable Data.Sequence #402

@ondrap

Description

@ondrap

I was testing something slightly different and found out that doing AE.encode seqVar is about 15% slower than doing AE.encode (toList seqVar). I am not sure how it works for other Foldable containers, however it seems to me it would make sense to change at least the Seq instance to:

toEncoding = list . toList

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions