mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 11:57:15 +02:00
made epoch array smaller
This commit is contained in:
@ -973,7 +973,7 @@ private:
|
|||||||
|
|
||||||
#if defined(BOOST_UNORDERED_LATCH_FREE)
|
#if defined(BOOST_UNORDERED_LATCH_FREE)
|
||||||
using epoch_type=std::atomic<std::size_t>;
|
using epoch_type=std::atomic<std::size_t>;
|
||||||
using epoch_array=cache_aligned_array<epoch_type,128>; // TODO: adapt 128 to the machine
|
using epoch_array=cache_aligned_array<epoch_type,16>; // TODO: adapt 16 to the machine
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_UNORDERED_LATCH_FREE)
|
#if defined(BOOST_UNORDERED_LATCH_FREE)
|
||||||
|
Reference in New Issue
Block a user