Sitelet https://github.com/rowtype-yoga/purescript-arraybuffer-builder/issues/3
Skip to content

Benchmark against purescript-dynamic-buffers #3

Description

@jamesdbrock

https://github.com/jamesdbrock/purescript-arraybuffer-builder/blob/cdb011b083d461465e6a00424f32bac801d340b3/src/Data/ArrayBuffer/Builder.purs#L421-L423

Here is a chance to benchmark against another style of builder.

This builder works by writing to a mutable buffer, so this might be much faster. If it runs out of space, then it allocates a new buffer which is double the size of the old one, and copies from old to new.

https://pursuit.purescript.org/packages/purescript-dynamic-buffers/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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