commit | b147a8382a9a740b511da35976102331ea318ca0 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun May 13 00:35:44 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun May 13 00:35:44 2012 +0200 |
tree | 9bacc1d449ee3affd0feb47814e16874800a05ec | |
parent | 3d2f16f3c3a1a5a906f904b3bc7e435ce232668e [diff] |
CLEANUP: fd: remove unused cb->b pointers in the struct fdtab These pointers were used to hold pointers to buffers in the past, but since we introduced the stream interface, they're no longer used but they were still sometimes set. Removing them shrink the struct fdtab from 32 to 24 bytes on 32-bit machines, and from 52 to 36 bytes on 64-bit machines, which is a significant saving. A quick tests shows a steady 0.5% performance gain, probably due to the better cache efficiency.