根据这个答案,海报期望std::bitset大小100k位比std::vector<bool>查询单个位时更快.这怎么可能?
std::bitset
std::vector<bool>
如果std::bitset显然允许任意大小,他们甚至可能在实施方面有显着差异std::vector?
std::vector
c++
c++ ×1