AsyncSocketHandler cacheChainLength
authorDave Watson <davejwatson@fb.com>
Wed, 8 Apr 2015 17:45:08 +0000 (10:45 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Fri, 10 Apr 2015 03:34:35 +0000 (20:34 -0700)
commit69befbf8072196103046f8a49fce7547310508fa
treef8bbfd6fb0ea191a1cafd16355ac01884fce4902
parent585616f77aaa2bbd7a8296f2df839f188e3408b8
AsyncSocketHandler cacheChainLength

Summary:
Is there any reason we shouldn't just cache the chain length everywhere?

Currently the pipeline does a lot of passing of buffers between IOBufQueues, I wonder if we can get even smarter about passing the length around

Test Plan: used in telnet server diff

Reviewed By: hans@fb.com

Subscribers: doug, fugalh, folly-diffs@, jsedgwick, yfeldblum, chalfant

FB internal diff: D1959167

Signature: t1:1959167:1427934568:eb9a49514b2bb7d157879bb8efa99f12092d5e95
folly/wangle/channel/AsyncSocketHandler.h