emersion / emersion/go-message

Optimize Entity.WriteTo

Open
#86 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
458
Forks
129
PR merge metrics
No merged PRs in 30d

Description

When the charset and `Content-Transfer-Encoding` haven't been modfiied, we can avoid decoding and re-encoding the entity's body. We can just pipe the original message's body.

Related to https://github.com/emersion/go-message/issues/84

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.