Closed meain closed 6 months ago
This PR makes two main changes:
Follow up to https://github.com/xhit/go-simple-mail/pull/103
I was trying to speed up the .eml generation and found replaceCID to be a huge bottle neck. Here is a flamegraph of the cpu/execution time. You can see that a major chunk is taken up by replaceCID regexp search.
.eml
replaceCID
This PR makes two main changes:
Follow up to https://github.com/xhit/go-simple-mail/pull/103
I was trying to speed up the
.eml
generation and foundreplaceCID
to be a huge bottle neck. Here is a flamegraph of the cpu/execution time. You can see that a major chunk is taken up byreplaceCID
regexp search.