Skip to content

Optimize consumeEnd json/text #2505

Closed
@ronag

Description

@ronag

In function consumeEnd (consume)

We do:

Buffer.concat(body).toString()

I think there can be faster or at least more memory efficient alternatives, e.g. using a streaming TextDecoder

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions