c++ - Is it more efficient to use boost::asio::basic_stream_socket::async_read_some instead of boost::asio::async_read? -


Better to promote: asio :: basic_stream_socket :: instead of promoting async_read_some :: asio :: async_read When it comes to high performance data throughput?

Promotion :: asio :: async_read is a compact operation, / P>

This action is implemented in the async_read_some function of the stream as zero or more calls, and it is known as a coordinated operation. Ensure that any other readable operation (such as async_read, stream, until the completion of this operation of the stream Async_read_some function, or any other processed work that reads).

Any performance findings should be based on empirical data based on your application.


Comments

Popular posts from this blog

google indexing -

php - How to paginate multiple results in CakePHP? -

wpf - Converter stops filter working -