Skip to content
Snippets Groups Projects
Commit c1d0b05f authored by Jared Hancock's avatar Jared Hancock
Browse files

mail-parse: Further optimize memory usage

This patch uses a 'StringView' to create a string which is a window of
another string. The __toString() method is employed to fetch a lazy copy of
the window which can be usually immediately discarded. This is optimal for
one-time-use string copies like what is used in the mail parsing.
parent 5ae4fe6b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment