Skip to content

Consider performance improvements #50

@ndmitchell

Description

@ndmitchell

We at Digital Asset took your work and made a bunch of performance improvements to the Decode module. The code is at https://github.com/digital-asset/daml/blob/master/nix/third-party/proto3-wire/src/Proto3/Wire/Decode.hs and the approximate list of changes I've been able to find are:

  • Switch to the Applicative instance for proto3-wire.
  • Use List instead of Map for RawMessage decoding
  • More INLINE instances.
  • Remove cereal dependency, do things more directly
  • Leave RawMessage a HashMap instead of converting
  • Get rid of Seq

Are you interested in taking changes that optimise the performance?

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