Track open fds in vector<bool> not set<int>
commitc1c4f74fc92219099af1ec419f543f961bea0720
authorOlly Betts <olly@survex.com>
Sat, 21 Apr 2018 22:33:49 +0000 (22 10:33 +1200)
committerOlly Betts <olly@survex.com>
Sat, 21 Apr 2018 22:33:49 +0000 (22 10:33 +1200)
tree29dedf95368cabe38dd0e0574edbbfd23578a9e8
parentbc6f622612e9bcf57c2043c69a4ed83c25341a91
Track open fds in vector<bool> not set<int>

The lowest unused fd is used whenever a new fd is needed so we
can expect them to form a dense set and vector<bool> should be an
efficient representation both in space and time.
xapian-core/tests/harness/fdtracker.cc
xapian-core/tests/harness/fdtracker.h