Skip to content

Very slow when RETRing large mails (~10MB) #30

Open
@NijiharaTsubasa

Description

@NijiharaTsubasa

I already find out that the problem is the cost of string concatenate on large strings.

But I have no idea how to fix it. I changed the string concatenate to buffer concatenate and it's still slow.

Maybe pre-allocate a big buffer for receive server data and write to it instead of concat strings every time?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions