File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 187
187
// than the largest message do not provide any benefit.
188
188
//
189
189
// Depending on the distribution of message sizes, setting the buffer size to
190
- // to a value less than the maximum expected message size can greatly reduce
191
- // memory use with a small impact on performance. Here's an example: If 99% of
192
- // the messages are smaller than 256 bytes and the maximum message size is 512
190
+ // a value less than the maximum expected message size can greatly reduce memory
191
+ // use with a small impact on performance. Here's an example: If 99% of the
192
+ // messages are smaller than 256 bytes and the maximum message size is 512
193
193
// bytes, then a buffer size of 256 bytes will result in 1.01 more system calls
194
194
// than a buffer size of 512 bytes. The memory savings is 50%.
195
195
//
You can’t perform that action at this time.
0 commit comments