Commit 91ca3e8
authored
Optimize IXWebSocketTransport chunk buffering (#562)
Use move instead of copy when appending a fragment to _chunks (std::list<std::string>), avoiding one string copy per fragmented-message frame. C++11-compatible (std::move + list::emplace_back) and build-verified with CMAKE_CXX_STANDARD 11.1 parent e24a2e6 commit 91ca3e8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | | - | |
| 621 | + | |
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| |||
0 commit comments