Skip to content

Conversation

brain5lug
Copy link

Eliminate copying from std::stringstream if complied with C++20 or higher
std::forward were replace std::move for fixed type context where
it does not make sense. Some redundant comment were removed as they
declare obvious actions under them.
For most of cases encoding fuction such as `call`, `execute` and
`prepare` use predefined fixed literal. Those values are best to
be expressed as std::string_view literals.
std::string_view are really usefull and can be easily createad
from any sequense memory areas.
There are no changes are required from cliend side as
std::string_view can be implicilty coverted from std::string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants