rowtype-yoga/purescript-arraybuffer-builder

Benchmark against purescript-dynamic-buffers

Opened this issue · 0 comments

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/