-
-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Especially when parsing IRC messages, a lot of String
s are created that are really just substrings of the original message, so a &str
would be more efficient. This would make the message struct tied to a lifetime (of the backing String
) making it hard to move the struct around. However, there are crates out there that would make this simpler, like yoke
.
I think it's worth at least discussing this.
Also see this article on yoke
: Not a Yoking Matter (Zero-Copy #1).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request