Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Reduce memory usage with a Buffer pool #1337

Closed
@daviddias

Description

@daviddias

Coming out from a productive chat with @mafintosh about buffer allocation, garbage collection and overall main perf sources of problems in JavaScript still today. Also got introduced to https://github.com/mafintosh/buffer-reuse-pool.

We can potentially (pretty much 100% certain) reduce the memory usage of js-ipfs and js-libp2p by adopting a similar strategy and also use it to cap memory usage.

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions